A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages

A

addToLogs(String, String) - Method in class org.curioswitch.common.server.framework.logging.RequestLoggingContext
 
addToLogsAndSpan(String, String) - Method in class org.curioswitch.common.server.framework.logging.RequestLoggingContext
 
afterAll(ExtensionContext) - Method in class org.curioswitch.common.testing.snapshot.SnapshotExtension
 
afterEach(ExtensionContext) - Method in class org.curioswitch.common.testing.snapshot.SnapshotExtension
 
allocate(Class<T>) - Method in enum org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
 
ApplicationModule - Class in org.curioswitch.common.server.framework
A Module which bootstraps a generic Java application.
ArmeriaEventLoopGroupProvider - Enum in org.curioswitch.common.server.framework.redis
 
assertSnapshotMatches(Object) - Static method in class org.curioswitch.common.testing.snapshot.SnapshotAssertions
 
assertThat(ListenableFuture<T>) - Static method in class org.curioswitch.common.testing.assertj.CurioAssertions
 
assertThat(T) - Static method in class org.curioswitch.common.testing.assertj.CurioAssertions
 
authFailed(Service<HttpRequest, HttpResponse>, ServiceRequestContext, HttpRequest, Throwable) - Method in class org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthorizer
 
authorize(ServiceRequestContext, HttpRequest) - Method in class org.curioswitch.common.server.framework.auth.ssl.SslAuthorizer
 
authorize(ServiceRequestContext, OAuth2Token) - Method in class org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthorizer
 
authorize(ServiceRequestContext, OAuth2Token) - Method in class org.curioswitch.common.server.framework.auth.googleid.GoogleIdAuthorizer
 
authorize(ServiceRequestContext, OAuth2Token) - Method in class org.curioswitch.common.server.framework.auth.iam.IamAuthorizer
 
authorize(ServiceRequestContext, OAuth2Token) - Method in class org.curioswitch.common.server.framework.auth.jwt.JwtAuthorizer
 

B

beforeEach(ExtensionContext) - Method in class org.curioswitch.common.testing.mocking.MockitoExtension
 
beforeEach(ExtensionContext) - Method in class org.curioswitch.common.testing.snapshot.SnapshotExtension
 
build() - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Returns the built MessageMarshaller, generating TypeSpecificMarshaller for all registered Message types.
build() - Method in class org.curioswitch.common.server.framework.files.FileWatcher.Builder
 
build() - Method in interface org.curioswitch.common.server.framework.grpc.GrpcProductionComponent.GrpcProductionComponentBuilder
Deprecated.
Builds and returns the component.
build() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
builder() - Static method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Returns a new MessageMarshaller.Builder for registering Message types for use in a MessageMarshaller as well as setting various serialization and parsing options.
Builder() - Constructor for class org.curioswitch.common.server.framework.files.FileWatcher.Builder
 
Builder() - Constructor for class org.curioswitch.common.server.framework.files.WatchedPath.Builder
 
Builder() - Constructor for class org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition.Builder
 
Builder() - Constructor for class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
Builder() - Constructor for class org.curioswitch.common.server.framework.server.HttpServiceDefinition.Builder
 
Builder() - Constructor for class org.curioswitch.common.server.framework.staticsite.StaticSiteServiceDefinition.Builder
 

C

check() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
 
check() - Method in interface org.curioswitch.common.server.framework.config.SecurityConfig
 
classpathRoot() - Method in interface org.curioswitch.common.server.framework.staticsite.StaticSiteServiceDefinition
The root directory in the classpath to serve resources from.
ClientBuilderFactory - Class in org.curioswitch.common.server.framework.armeria
A convenience factory that sets up a ClientBuilder with appropriate default parameters.
ClientBuilderFactory(MeterRegistry, Tracing, Function<Client<HttpRequest, HttpResponse>, LoggingClient<HttpRequest, HttpResponse>>, Optional<SelfSignedCertificate>, Optional<TrustManagerFactory>, Lazy<GoogleCredentialsDecoratingClient.Factory>, ServerConfig) - Constructor for class org.curioswitch.common.server.framework.armeria.ClientBuilderFactory
 
close() - Method in class org.curioswitch.common.server.framework.files.FileWatcher
 
close() - Method in class org.curioswitch.common.server.framework.monitoring.StackdriverReporter
 
CloseOnStop - Annotation Type in org.curioswitch.common.server.framework.inject
Qualifier to use on Object type providers to indicate the provided objects should be closed after server shutdown.
com.google.firebase.auth - package com.google.firebase.auth
 
completesWithValue(ACTUAL) - Method in class org.curioswitch.common.testing.assertj.ListenableFutureAssert
 
completesWithValueMatchingSnapshot() - Method in class org.curioswitch.common.testing.assertj.ListenableFutureAssert
 
completesWithValueSatisfying(Consumer<ACTUAL>) - Method in class org.curioswitch.common.testing.assertj.ListenableFutureAssert
 
Constants - Class in org.curioswitch.common.server.framework.armeria
 
create(String) - Method in interface org.curioswitch.common.server.framework.auth.jwt.PublicKeysManager.Factory
 
create(String, String) - Method in class org.curioswitch.common.server.framework.armeria.ClientBuilderFactory
 
create(String, K, V, Duration, boolean, CaffeineSpec) - Method in class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache.Factory
Constructs a new ProtobufRedisLoadingCache that can write protobuf Message keys and values to remoteCache, with an optional local cache layer.
create(String, K, V, Duration, CaffeineSpec) - Method in class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache.Factory
Constructs a new ProtobufRedisLoadingCache that can write protobuf Message keys and values to remoteCache, with an optional local cache layer.
create(JwtVerifier.Algorithm, String) - Method in interface org.curioswitch.common.server.framework.auth.jwt.JwtAuthorizer.Factory
 
create(JwtVerifier.Algorithm, String) - Method in interface org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Factory
 
create(SslCommonNamesProvider) - Method in class org.curioswitch.common.server.framework.auth.googleid.GoogleIdAuthorizer.Factory
 
createDefaultLayout() - Static method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
Creates a JSON Layout using the default settings.
createLogEventWithAdditionalFields(LogEvent, Map<String, String>) - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
 
CryptoModule - Class in org.curioswitch.common.server.framework.crypto
 
CurioAssertions - Class in org.curioswitch.common.testing.assertj
 
CurioAssertions() - Constructor for class org.curioswitch.common.testing.assertj.CurioAssertions
 
CurioMockDataProvider - Interface in org.curioswitch.common.testing.database
A MockDataProvider that provides a default implementation of CurioMockDataProvider.execute(MockExecuteContext) which throws an exception with the query logged, for use with {@literal @}Mock(answer = Answers.CALL_REAL_METHOD).
CurioStyle - Annotation Type in org.curioswitch.common.server.framework.immutables
Value.Style which applies curio conventions to Value.Immutable objects.
CurrentRequestContextExecutor - Enum in org.curioswitch.common.server.framework.armeria
An Executor that will try to execute tasks on the event loop of the current RequestContext when available or ForkJoinPool.common otherwise.
CurrentRequestContextForwardingExecutorService - Class in org.curioswitch.common.server.framework.armeria
A Executor that will run tasks on a delegate, making callbacks context-aware when a RequestContext is available.
CurrentRequestContextForwardingExecutorService(ExecutorService) - Constructor for class org.curioswitch.common.server.framework.armeria.CurrentRequestContextForwardingExecutorService
 
customizer() - Method in interface org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition
A Consumer to customize settings of the GrpcServiceBuilder this service is bound to.

D

DatabaseConfig - Interface in org.curioswitch.common.server.framework.config
Configuration properties for a database accessed by the server.
DatabaseModule - Class in org.curioswitch.common.server.framework.database
 
DatabaseTestingModule - Class in org.curioswitch.common.testing.database
 
DatabaseTestUtil - Class in org.curioswitch.common.testing.database
Utilities for working with a mock database in tests.
DatabaseTestUtil.MockDataProviderStubber - Class in org.curioswitch.common.testing.database
 
DatabaseTestUtil.MockDataProviderVerifier - Class in org.curioswitch.common.testing.database
 
DatabaseUtil - Class in org.curioswitch.common.server.framework.database
Utilities for working with databases.
DB - Static variable in class org.curioswitch.common.testing.database.DatabaseTestUtil
 
DECODED_JWT - Static variable in class org.curioswitch.common.server.framework.auth.jwt.JwtAuthorizer
 
decorator() - Method in interface org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition
The decorator to be applied to the service.
delegate() - Method in class org.curioswitch.common.server.framework.armeria.CurrentRequestContextForwardingExecutorService
 
deleteFromRedis(K) - Method in class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache
Deletes the given key from the remote cache.
doGet(ServiceRequestContext, HttpRequest) - Method in class org.curioswitch.common.server.framework.monitoring.MetricsHttpService
 
doGet(ServiceRequestContext, HttpRequest) - Method in class org.curioswitch.common.server.framework.staticsite.JavascriptStaticService
 

E

EagerInit - Annotation Type in org.curioswitch.common.server.framework.inject
Qualifier to use on Object type providers to indicate the provided objects should be initialized at server startup.
ECDSA256Signer - Class in org.curioswitch.common.server.framework.crypto
A signer of data using the 256-bit elliptic curve DSA algorithm.
ECDSA256Signer(SignerConfig) - Constructor for class org.curioswitch.common.server.framework.crypto.ECDSA256Signer
 
ECDSA256Verifier - Class in org.curioswitch.common.server.framework.crypto
A verifier of ECDSA256 signatures.
ECDSA256Verifier(SignerConfig) - Constructor for class org.curioswitch.common.server.framework.crypto.ECDSA256Verifier
 
ES256 - org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
 
ES384 - org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
 
ES512 - org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
 
execute() - Method in interface org.curioswitch.common.server.framework.grpc.GrpcProductionComponent
Deprecated.
Execute the graph to compute the response.
execute(InputStream, InputStream, BiFunction<InputStream, InputStream, SslContextBuilder>) - Static method in class org.curioswitch.common.server.framework.armeria.SslContextKeyConverter
 
execute(Runnable) - Method in enum org.curioswitch.common.server.framework.armeria.CurrentRequestContextExecutor
 
execute(Runnable) - Method in class org.curioswitch.common.server.framework.armeria.CurrentRequestContextForwardingExecutorService
 
execute(MockExecuteContext) - Method in interface org.curioswitch.common.testing.database.CurioMockDataProvider
 
executeUnary(BiConsumer<I, S>, I) - Static method in class org.curioswitch.common.testing.grpc.GrpcTestUtil
 

F

Factory(Lazy<RedisClusterClient>, Lazy<RedisClient>, RedisConfig, MeterRegistry) - Constructor for class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache.Factory
 
Factory(SecurityConfig) - Constructor for class org.curioswitch.common.server.framework.security.HttpsOnlyService.Factory
 
Factory(GoogleIdTokenVerifier) - Constructor for class org.curioswitch.common.server.framework.auth.googleid.GoogleIdAuthorizer.Factory
 
failsWithGrpcStatus(Status) - Method in class org.curioswitch.common.testing.assertj.ListenableFutureAssert
 
failsWithGrpcStatusCode(Status.Code) - Method in class org.curioswitch.common.testing.assertj.ListenableFutureAssert
 
failsWithInstanceOfSatisfying(Class<T>, Consumer<T>) - Method in class org.curioswitch.common.testing.assertj.ListenableFutureAssert
 
FileWatcher - Class in org.curioswitch.common.server.framework.files
A watcher of filesystem events for registered Paths.
FileWatcher.Builder - Class in org.curioswitch.common.server.framework.files
 
FIREBASE_TOKEN - Static variable in class org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthorizer
 
FirebaseAuthConfig - Interface in org.curioswitch.common.server.framework.auth.firebase
Configuration properties for a firebase authentication.
FirebaseAuthModule - Class in org.curioswitch.common.server.framework.auth.firebase
Components for initializing firebase authentication of requests.
FirebaseAuthorizer - Class in org.curioswitch.common.server.framework.auth.firebase
 
FirebaseAuthorizer(FirebaseAuth, FirebaseAuthConfig) - Constructor for class org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthorizer
 
FirebaseTestTrampoline - Class in com.google.firebase.auth
Provides access to package-private methods of com.google.firebase.auth for use in tests.
FirebaseTestUtil - Class in org.curioswitch.common.testing.auth.firebase
Utilities to work with firebase in tests.
flush() - Method in class org.curioswitch.common.server.framework.monitoring.StackdriverReporter
 
ForDatabase - Annotation Type in org.curioswitch.common.server.framework.database
Qualifier for injected objects used by DatabaseModule.
fromInstant(Instant) - Static method in class org.curioswitch.common.server.framework.util.ProtoTimestamps
Converts a Instant to Timestamp.
fromJavaTime(Duration) - Static method in class org.curioswitch.common.server.framework.util.ProtoDurations
Converts a Duration to Duration.
fromLocalDate(LocalDate, ZoneOffset) - Static method in class org.curioswitch.common.server.framework.util.ProtoTimestamps
Converts a LocalDate to Timestamp.
fromLocalDateTime(LocalDateTime, ZoneOffset) - Static method in class org.curioswitch.common.server.framework.util.ProtoTimestamps
Converts a LocalDateTime to Timestamp.

G

get() - Method in class org.curioswitch.common.server.framework.auth.ssl.RpcAclsCommonNamesProvider
 
get() - Method in interface org.curioswitch.common.server.framework.auth.ssl.SslCommonNamesProvider
The SSL common names (does not include 'CN=').
get(K, Function<K, ListenableFuture<V>>) - Method in class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache
Returns the value for the given key, computing the value from loader if it is not present in cache.
getAdditionalCaCertificatePath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to an additional CA certificate, necessary for migrating CAs as two CAs need to be trusted at the same time.
getAdditionalFields() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
getAdditionalFields() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.JsonLogEventWithAdditionalFields
 
getAdditionalResponseHeaders() - Method in interface org.curioswitch.common.server.framework.config.SecurityConfig
Additional headers to add to all responses, e.g., Content-Security-Policy.
getAllowedGoogleDomains() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
A list of allowed Google-login domains.
getBlacklistedRequestHeaders() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Header names that will not be logged to request logs.
getBlacklistedResponseHeaders() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Header names that will not be logged to response logs.
getById(String) - Method in class org.curioswitch.common.server.framework.auth.jwt.PublicKeysManager
 
getCaCertificatePath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to the file containing the certificate of the CA that issues server/client certs in this system.
getClientTlsCertificatePath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to the file containing the TLS certificate for client requests.
getClientTlsPrivateKeyPath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to the file containing the private key for client requests.
getConnectionMaxLifetime() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The max lifetime for database connections.
getConnectTimeout() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The timeout for socket connect.
getContentFormat() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
 
getContentType() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
 
getDisableEdns() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether EDNS should be disabled in clients.
getEnableGracefulShutdown() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Sets whether to shutdown gracefully, by first disabling health check and then wait some time for requests to go away before shutting down.
getExcludedPaths() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
A list of paths that should allow unauthenticated requests.
getFooter() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
Returns appropriate JSON footer.
getGrpcPath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
The path to service gRPC APIs on, defaults to /api.
getHandler() - Method in interface org.curioswitch.common.server.framework.files.WatchedPath
 
getHeader() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
Returns appropriate JSON header.
getHttpsOnly() - Method in interface org.curioswitch.common.server.framework.config.SecurityConfig
getIfPresent(K) - Method in class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache
Returns the value for the given key if it is present in cache, otherwise returns null.
getIncludedPaths() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
A list of paths that must allow authenticated requests.
getIpFilterInternalOnly() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Sets whether IP filter rules should only be applied to internal services.
getIpFilterRules() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
List of IP filtering rules, as IP Addresses with subnet range (e.g., 121.121.0.0/16).
getJdbcUrl() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The JDBC connection URL to connect to.
getLeakDetectionThreshold() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The duration that a connection is allowed to be out of the pool before being considered leaked.
getLogAllClientRequests() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Whether to log all client requests.
getLogAllServerRequests() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Whether to log all server requests.
getLogEvent() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.JsonLogEventWithAdditionalFields
 
getLogProducerExecution() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Whether to do fine-grained logging of individual producer function execution.
getLogQueries() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
Whether to log all queries to INFO level.
getLogRequestContent() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Whether to log content in request logs.
getLogResponseContent() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Whether to log content in response logs.
getMessage() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.JsonLogEventWithAdditionalFields
 
getObjectMessageAsJsonObject() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
getPassword() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The password to use to connect to the database.
getPath() - Method in interface org.curioswitch.common.server.framework.files.WatchedPath
 
getPort() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Port to listen on.
getPrivateKeyBase64() - Method in interface org.curioswitch.common.server.framework.crypto.SignerConfig
Base64-encoded private key used to sign payloads.
getProjectId() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
Firebase project id
getPublicKeyBase64() - Method in interface org.curioswitch.common.server.framework.crypto.SignerConfig
Base64-encoded public key used to verify signed payloads.
getRpcAclsPath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to file containing rpc acl configuration.
getServerName() - Method in interface org.curioswitch.common.server.framework.config.MonitoringConfig
Name to use to identify this server in monitoring.
getServiceAccountBase64() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
Base64-encoded firebase service account.
getSocketTimeout() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The timeout for socket read.
getStackdriverProjectId() - Method in interface org.curioswitch.common.server.framework.config.MonitoringConfig
The Stackdriver project id to report traces to.
getTlsCertificatePath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to the file containing the TLS certificate for this server.
getTlsPrivateKeyPath() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Path to the file containing the private key for the TLS certificate for this server.
getTraceProducerExecution() - Method in interface org.curioswitch.common.server.framework.config.LoggingConfig
Whether to do fine-grained tracing of individual producer function execution.
getTraceQueueSize() - Method in interface org.curioswitch.common.server.framework.config.MonitoringConfig
Maximum size of queue of Zipkin traces.
getTraceReportInterval() - Method in interface org.curioswitch.common.server.framework.config.MonitoringConfig
The interval for reporting traces.
getTraceSamplingRate() - Method in interface org.curioswitch.common.server.framework.config.MonitoringConfig
The sampling rate for traces.
getUrl() - Method in interface org.curioswitch.common.server.framework.config.RedisConfig
The redis connection url, including password and namespace, e.g.
getUsername() - Method in interface org.curioswitch.common.server.framework.config.DatabaseConfig
The username to use to connect to the database.
getVersion() - Method in interface org.curioswitch.common.server.framework.config.JavascriptStaticConfig
Version of the configuration.
GoogleIdAuthorizer - Class in org.curioswitch.common.server.framework.auth.googleid
 
GoogleIdAuthorizer.Factory - Class in org.curioswitch.common.server.framework.auth.googleid
 
graph(G) - Method in interface org.curioswitch.common.server.framework.grpc.GrpcProductionComponent.GrpcProductionComponentBuilder
Deprecated.
Sets the graph to use for this component.
GrpcGraphUtil - Class in org.curioswitch.common.server.framework.grpc
A utility for using gRPC with producer graphs.
GrpcProductionComponent<Resp> - Interface in org.curioswitch.common.server.framework.grpc
Deprecated.
Define the ListenableFuture<Resp> execute() in your components. When using BindsInstance, the boilerplate savings of this interface are too low to warrant it.
GrpcProductionComponent.GrpcProductionComponentBuilder<G,​C extends GrpcProductionComponent,​Self extends GrpcProductionComponent.GrpcProductionComponentBuilder> - Interface in org.curioswitch.common.server.framework.grpc
Deprecated.
Use BindsInstance instead of passing the ProducerModule into the component. All modules should be abstract.
grpcRequestLabeler(String) - Static method in class org.curioswitch.common.server.framework.monitoring.RpcMetricLabels
 
GrpcServiceDefinition - Interface in org.curioswitch.common.server.framework.grpc
A definition of a gRPC BindableService that should be registered to a Server.
GrpcServiceDefinition.Builder - Class in org.curioswitch.common.server.framework.grpc
 
GrpcTestUtil - Class in org.curioswitch.common.testing.grpc
 

H

HttpServiceDefinition - Interface in org.curioswitch.common.server.framework.server
A definition of a custom HTTP Service which will be treated as a business logic service of the server, applying other decorators like authorization.
HttpServiceDefinition.Builder - Class in org.curioswitch.common.server.framework.server
 
HttpsOnlyService - Class in org.curioswitch.common.server.framework.security
A SimpleDecoratingService which redirects HTTP requests from a proxy to HTTPS.
HttpsOnlyService.Factory - Class in org.curioswitch.common.server.framework.security
 

I

IamAuthorizer - Class in org.curioswitch.common.server.framework.auth.iam
 
IamAuthorizer(IamPermissionChecker, Credentials) - Constructor for class org.curioswitch.common.server.framework.auth.iam.IamAuthorizer
 
IamPermissionChecker - Class in org.curioswitch.common.server.framework.auth.iam
 
IamPermissionChecker(ServiceAccountsClient) - Constructor for class org.curioswitch.common.server.framework.auth.iam.IamPermissionChecker
 
ignoringUnknownFields(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether unknown fields should be allowed when parsing JSON input.
includingDefaultValueFields(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Set whether unset fields will be serialized with their default values.
injectContextData(List<Property>, StringMap) - Method in class org.curioswitch.common.server.framework.logging.RequestLoggingContextInjector
 
INSTANCE - org.curioswitch.common.server.framework.armeria.CurrentRequestContextExecutor
 
INSTANCE - org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
 
IpFilteringService - Class in org.curioswitch.common.server.framework.filter
DecoratingService which only allows requests from a whitelist of IP addresses.
isAllowUnverifiedEmail() - Method in interface org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthConfig
Whether to authenticate users with unverified email address.
isCluster() - Method in interface org.curioswitch.common.server.framework.config.RedisConfig
Whether the redis server is using redis cluster.
isDisableClientCertificateVerification() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether clients should have SSL certificate verification disabled.
isDisableDocService() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether the DocService is disabled in the server.
isDisableGrpcServiceDiscovery() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether the ProtoReflectionService should be added to the server to enable discovery of bound GrpcServices.
isDisableServerCertificateVerification() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether backend service SSL certificates should be verified.
isDisableSslAuthorization() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether authorization using SSL client certificates should be disabled.
isEmpty() - Method in class org.curioswitch.common.server.framework.files.FileWatcher.Builder
 
isEnableIapAuthorization() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether to enable Google Identity-Aware Proxy token verification.
isGenerateSelfSignedCertificate() - Method in interface org.curioswitch.common.server.framework.config.ServerConfig
Whether the server should generate a self-signed SSL certificate for the HTTPs port.
isNoop() - Method in interface org.curioswitch.common.server.framework.config.RedisConfig
Whether a noop cache should be used instead of redis.
isPropertiesAsList() - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
isReportTraces() - Method in interface org.curioswitch.common.server.framework.config.MonitoringConfig
Whether to report traces to Stackdriver.

J

JavaBeanStyle - Annotation Type in org.curioswitch.common.server.framework.immutables
A Value.Style which allows recognizing modifable versions of the type as javabeans.
JavascriptStaticConfig - Interface in org.curioswitch.common.server.framework.config
Static configuration settings to be served as Javascript for configuring web pages.
JavascriptStaticService - Class in org.curioswitch.common.server.framework.staticsite
 
JavascriptStaticService(Config) - Constructor for class org.curioswitch.common.server.framework.staticsite.JavascriptStaticService
 
JsonLogEventWithAdditionalFields(LogEvent, Map<String, String>) - Constructor for class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.JsonLogEventWithAdditionalFields
 
jwtAuthorizer(JwtAuthorizerFactory) - Method in class org.curioswitch.common.server.framework.auth.jwt.JwtModule
 
JwtAuthorizer - Class in org.curioswitch.common.server.framework.auth.jwt
 
JwtAuthorizer(JwtVerifier.Factory, JwtVerifier.Algorithm, String) - Constructor for class org.curioswitch.common.server.framework.auth.jwt.JwtAuthorizer
 
JwtAuthorizer.Factory - Interface in org.curioswitch.common.server.framework.auth.jwt
 
JwtModule - Class in org.curioswitch.common.server.framework.auth.jwt
 
JwtModule() - Constructor for class org.curioswitch.common.server.framework.auth.jwt.JwtModule
 
jwtVerifier(JwtVerifierFactory) - Method in class org.curioswitch.common.server.framework.auth.jwt.JwtModule
 
JwtVerifier - Class in org.curioswitch.common.server.framework.auth.jwt
 
JwtVerifier(PublicKeysManager.Factory, JwtVerifier.Algorithm, String) - Constructor for class org.curioswitch.common.server.framework.auth.jwt.JwtVerifier
 
JwtVerifier.Algorithm - Enum in org.curioswitch.common.server.framework.auth.jwt
 
JwtVerifier.Factory - Interface in org.curioswitch.common.server.framework.auth.jwt
 

K

KeyUtil - Class in org.curioswitch.common.server.framework.crypto
 

L

ListenableFutureAssert<ACTUAL> - Class in org.curioswitch.common.testing.assertj
 
loadPrivateKey(byte[]) - Static method in class org.curioswitch.common.server.framework.crypto.KeyUtil
 
loadPublicKey(byte[]) - Static method in class org.curioswitch.common.server.framework.crypto.KeyUtil
 
LoggingConfig - Interface in org.curioswitch.common.server.framework.config
Configuration related to logging.
LoggingModule - Class in org.curioswitch.common.server.framework.logging
 
lookup(String) - Method in class org.curioswitch.common.server.framework.logging.StackdriverSeverityLookup
 
lookup(LogEvent, String) - Method in class org.curioswitch.common.server.framework.logging.StackdriverSeverityLookup
 

M

matchesSnapshot() - Method in class org.curioswitch.common.testing.assertj.SnapshotObjectAssert
 
matchesSnapshot() - Method in class org.curioswitch.common.testing.assertj.SnapshotProtoAssert
 
mergeValue(byte[], Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON UTF-8 bytes into the provided Message.Builder.
mergeValue(JsonParser, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the content inside the JsonParser into the provided Message.Builder.
mergeValue(InputStream, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON bytes inside the provided InputStream into the provided Message.Builder.
mergeValue(String, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON String into the provided Message.Builder.
MessageMarshaller - Class in org.curioswitch.common.protobuf.json
A marshaller of pre-registered Message types.
MessageMarshaller.Builder - Class in org.curioswitch.common.protobuf.json
A MessageMarshaller.Builder of MessageMarshallers, allows registering Message types to marshall and set options.
MetricsHttpService - Class in org.curioswitch.common.server.framework.monitoring
Returns metrics in an HTTP response as JSON, useful for viewing current metrics of a running server.
MockitoExtension - Class in org.curioswitch.common.testing.mocking
TODO(choko): Remove once mockito adds official junit5 support.
MockitoExtension() - Constructor for class org.curioswitch.common.testing.mocking.MockitoExtension
 
mockProvider() - Static method in class org.curioswitch.common.testing.database.DatabaseTestUtil
 
MonitoringConfig - Interface in org.curioswitch.common.server.framework.config
Configuration for monitoring.
MonitoringModule - Class in org.curioswitch.common.server.framework.monitoring
 

N

newBuilder() - Static method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
 
newDbContext(MockDataProvider) - Static method in class org.curioswitch.common.testing.database.DatabaseTestUtil
Returns a DSLContext with a mock connection using the provided MockDataProvider.
newDecorator() - Method in class org.curioswitch.common.server.framework.security.HttpsOnlyService.Factory
 
newDecorator(List<String>) - Static method in class org.curioswitch.common.server.framework.filter.IpFilteringService
 
NO_OP - Static variable in interface org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition
 

O

of(String, String) - Static method in class org.curioswitch.common.server.framework.staticsite.StaticSiteService
Creates a new StaticSiteService.
omittingInsignificantWhitespace(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Whether the serialized JSON output will omit all insignificant whitespace.
openStream(String) - Static method in class org.curioswitch.common.server.framework.util.ResourceUtil
Opens a InputStream to the provided resource path.
org.curioswitch.common.protobuf.json - package org.curioswitch.common.protobuf.json
Code for efficiently marshalling between protobuf objects and JSON.
org.curioswitch.common.server.framework - package org.curioswitch.common.server.framework
 
org.curioswitch.common.server.framework.armeria - package org.curioswitch.common.server.framework.armeria
 
org.curioswitch.common.server.framework.auth.firebase - package org.curioswitch.common.server.framework.auth.firebase
 
org.curioswitch.common.server.framework.auth.googleid - package org.curioswitch.common.server.framework.auth.googleid
 
org.curioswitch.common.server.framework.auth.iam - package org.curioswitch.common.server.framework.auth.iam
 
org.curioswitch.common.server.framework.auth.jwt - package org.curioswitch.common.server.framework.auth.jwt
 
org.curioswitch.common.server.framework.auth.ssl - package org.curioswitch.common.server.framework.auth.ssl
 
org.curioswitch.common.server.framework.config - package org.curioswitch.common.server.framework.config
 
org.curioswitch.common.server.framework.crypto - package org.curioswitch.common.server.framework.crypto
 
org.curioswitch.common.server.framework.database - package org.curioswitch.common.server.framework.database
 
org.curioswitch.common.server.framework.files - package org.curioswitch.common.server.framework.files
 
org.curioswitch.common.server.framework.filter - package org.curioswitch.common.server.framework.filter
 
org.curioswitch.common.server.framework.grpc - package org.curioswitch.common.server.framework.grpc
 
org.curioswitch.common.server.framework.immutables - package org.curioswitch.common.server.framework.immutables
 
org.curioswitch.common.server.framework.inject - package org.curioswitch.common.server.framework.inject
 
org.curioswitch.common.server.framework.logging - package org.curioswitch.common.server.framework.logging
 
org.curioswitch.common.server.framework.mapper - package org.curioswitch.common.server.framework.mapper
 
org.curioswitch.common.server.framework.monitoring - package org.curioswitch.common.server.framework.monitoring
 
org.curioswitch.common.server.framework.redis - package org.curioswitch.common.server.framework.redis
 
org.curioswitch.common.server.framework.security - package org.curioswitch.common.server.framework.security
 
org.curioswitch.common.server.framework.server - package org.curioswitch.common.server.framework.server
 
org.curioswitch.common.server.framework.staticsite - package org.curioswitch.common.server.framework.staticsite
 
org.curioswitch.common.server.framework.util - package org.curioswitch.common.server.framework.util
 
org.curioswitch.common.testing - package org.curioswitch.common.testing
 
org.curioswitch.common.testing.assertj - package org.curioswitch.common.testing.assertj
 
org.curioswitch.common.testing.auth.firebase - package org.curioswitch.common.testing.auth.firebase
 
org.curioswitch.common.testing.database - package org.curioswitch.common.testing.database
 
org.curioswitch.common.testing.grpc - package org.curioswitch.common.testing.grpc
 
org.curioswitch.common.testing.mocking - package org.curioswitch.common.testing.mocking
 
org.curioswitch.common.testing.snapshot - package org.curioswitch.common.testing.snapshot
 

P

parse(String) - Static method in class org.curioswitch.common.testing.auth.firebase.FirebaseTestUtil
Parses a serialized FirebaseToken without verification.
parseToken(JsonFactory, String) - Static method in class com.google.firebase.auth.FirebaseTestTrampoline
 
path() - Method in interface org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition
The URL path to bind the service to.
postProcessTestInstance(Object, ExtensionContext) - Method in class org.curioswitch.common.testing.mocking.MockitoExtension
 
PostServerCustomizer - Interface in org.curioswitch.common.server.framework.server
 
preservingProtoFieldNames(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Set whether field names should use the original name in the .proto file instead of converting to lowerCamelCase when serializing messages.
printingEnumsAsInts(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether enum values should be printed as their integer value rather than their name.
processFile(Path) - Method in class org.curioswitch.common.server.framework.auth.ssl.RpcAclsCommonNamesProvider
 
produce(Consumer<? super ConverterFactory<?, ?>>) - Method in class org.curioswitch.common.server.framework.mapper.ProtobufConverterFactoryProducer
 
ProtobufConverterFactoryProducer - Class in org.curioswitch.common.server.framework.mapper
AbstractConverterFactoryProducer to convert Java8 LocalDateTime and Timestamp to Timestamp.
ProtobufConverterFactoryProducer() - Constructor for class org.curioswitch.common.server.framework.mapper.ProtobufConverterFactoryProducer
 
ProtobufRedisLoadingCache<K extends com.google.protobuf.Message,​V extends com.google.protobuf.Message> - Class in org.curioswitch.common.server.framework.redis
A AsyncLoadingCache that is backed by a remote remoteCache cache, specialized for the common case where the key and value are protobuf for easy serialization.
ProtobufRedisLoadingCache.Factory - Class in org.curioswitch.common.server.framework.redis
ProtoDurations - Class in org.curioswitch.common.server.framework.util
Common utilities for dealing with Duration, such as conversion to java.time types.
ProtoTimestamps - Class in org.curioswitch.common.server.framework.util
Common utilities for dealing with Timestamp, such as conversion to java.time types.
publicKeysManager(PublicKeysManagerFactory) - Method in class org.curioswitch.common.server.framework.auth.jwt.JwtModule
 
PublicKeysManager - Class in org.curioswitch.common.server.framework.auth.jwt
 
PublicKeysManager(Clock, String) - Constructor for class org.curioswitch.common.server.framework.auth.jwt.PublicKeysManager
 
PublicKeysManager.Factory - Interface in org.curioswitch.common.server.framework.auth.jwt
 
put(RequestContext, String, String) - Static method in class org.curioswitch.common.server.framework.logging.RequestLoggingContext
 
put(K, V) - Method in class org.curioswitch.common.server.framework.redis.ProtobufRedisLoadingCache
Sets the given value for the given key in cache.

R

RAW_FIREBASE_TOKEN - Static variable in class org.curioswitch.common.server.framework.auth.firebase.FirebaseAuthorizer
 
RAW_JWT - Static variable in class org.curioswitch.common.server.framework.auth.jwt.JwtAuthorizer
 
rawContextData() - Method in class org.curioswitch.common.server.framework.logging.RequestLoggingContextInjector
 
readyForShutdown() - Method in interface org.curioswitch.common.server.framework.server.ServerShutDownDelayer
Returns a future which must be completed to indicate the server will be shutdown.
RedisConfig - Interface in org.curioswitch.common.server.framework.config
Configuration properties for a redis connection.
RedisModule - Class in org.curioswitch.common.server.framework.redis
 
register(Message) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Registers the type of the provided Message for use with the created MessageMarshaller.
register(Class<? extends Message>) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Registers the provided Message type for use with the created MessageMarshaller.
registerPath(Path, Consumer<Path>) - Method in class org.curioswitch.common.server.framework.files.FileWatcher.Builder
 
release(EventExecutorGroup, long, long, TimeUnit) - Method in enum org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
 
report(Span) - Method in class org.curioswitch.common.server.framework.monitoring.StackdriverReporter
 
RequestHeaderSanitizer - Annotation Type in org.curioswitch.common.server.framework.logging
A Qualifier to use on Consumer to indicate the provided consumer should be used to sanitize request headers.
RequestLoggingContext - Class in org.curioswitch.common.server.framework.logging
 
RequestLoggingContext(ServiceRequestContext, Optional<Tracing>) - Constructor for class org.curioswitch.common.server.framework.logging.RequestLoggingContext
 
RequestLoggingContextInjector - Class in org.curioswitch.common.server.framework.logging
 
RequestLoggingContextInjector() - Constructor for class org.curioswitch.common.server.framework.logging.RequestLoggingContextInjector
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.curioswitch.common.testing.mocking.MockitoExtension
 
ResourceUtil - Class in org.curioswitch.common.server.framework.util
Utilities for working with resources that can either be in the classpath or on the filesystem.
ResponseHeaderSanitizer - Annotation Type in org.curioswitch.common.server.framework.logging
A Qualifier to use on Consumer to indicate the provided consumer should be used to sanitize response headers.
route() - Method in interface org.curioswitch.common.server.framework.server.HttpServiceDefinition
 
RpcAclsCommonNamesProvider - Class in org.curioswitch.common.server.framework.auth.ssl
A SslCommonNamesProvider that authorizers all keys specified in an rpcacls file.
RpcAclsCommonNamesProvider(Path) - Constructor for class org.curioswitch.common.server.framework.auth.ssl.RpcAclsCommonNamesProvider
 
RpcMetricLabels - Class in org.curioswitch.common.server.framework.monitoring
 
RS256 - org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
 
RS384 - org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
 
RS512 - org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
 

S

SecurityConfig - Interface in org.curioswitch.common.server.framework.config
Configuration properties for externally secure settings of externally visible services.
SecurityModule - Class in org.curioswitch.common.server.framework.security
 
serve(ServiceRequestContext, HttpRequest) - Method in class org.curioswitch.common.server.framework.filter.IpFilteringService
 
serve(ServiceRequestContext, HttpRequest) - Method in class org.curioswitch.common.server.framework.security.HttpsOnlyService
 
ServerConfig - Interface in org.curioswitch.common.server.framework.config
General configuration properties for the server.
ServerModule - Class in org.curioswitch.common.server.framework
A Module which bootstraps a server, finding and registering GRPC services to expose.
ServerModule() - Constructor for class org.curioswitch.common.server.framework.ServerModule
 
ServerShutDownDelayer - Interface in org.curioswitch.common.server.framework.server
An interface which can be implemented and provided to delay shutdown of the server.
service() - Method in interface org.curioswitch.common.server.framework.server.HttpServiceDefinition
 
services() - Method in interface org.curioswitch.common.server.framework.grpc.GrpcServiceDefinition
The gRPC services to bind.
setAdditionalFields(KeyValuePair[]) - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
setObjectMessageAsJsonObject(boolean) - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
setPropertiesAsList(boolean) - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout.Builder
 
sfmRecordMapperProvider() - Static method in class org.curioswitch.common.server.framework.database.DatabaseUtil
Returns a SfmRecordMapperProvider configured to allow missing properties, which are common when mapping from DB objects to business logic objects.
shutdown(long, long, TimeUnit) - Method in enum org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
 
sign(byte[]) - Method in class org.curioswitch.common.server.framework.crypto.ECDSA256Signer
Returns the signature for payload.
signerConfig(Config) - Static method in class org.curioswitch.common.server.framework.crypto.CryptoModule
 
SignerConfig - Interface in org.curioswitch.common.server.framework.crypto
 
SnapshotAssertions - Class in org.curioswitch.common.testing.snapshot
 
SnapshotExtension - Class in org.curioswitch.common.testing.snapshot
A Jupiter extension to read and write snapshots for use with snapshot assertions.
SnapshotExtension() - Constructor for class org.curioswitch.common.testing.snapshot.SnapshotExtension
 
SnapshotObjectAssert<ACTUAL> - Class in org.curioswitch.common.testing.assertj
 
SnapshotProtoAssert<ACTUAL extends com.google.protobuf.Message> - Class in org.curioswitch.common.testing.assertj
 
sortingMapKeys(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether map keys will be sorted in the JSON output.
SslAuthorizer - Class in org.curioswitch.common.server.framework.auth.ssl
 
SslAuthorizer(SslCommonNamesProvider) - Constructor for class org.curioswitch.common.server.framework.auth.ssl.SslAuthorizer
 
SslCommonNamesProvider - Interface in org.curioswitch.common.server.framework.auth.ssl
A provider of the SSL common names that should be accepted by SslAuthorizer.
SslContextKeyConverter - Class in org.curioswitch.common.server.framework.armeria
A very hacky way of using keys with SslContextBuilder, transparently converting to PKCS#8 as needed.
StackdriverJsonLayout - Class in org.curioswitch.common.server.framework.logging
 
StackdriverJsonLayout.Builder<B extends StackdriverJsonLayout.Builder<B>> - Class in org.curioswitch.common.server.framework.logging
 
StackdriverJsonLayout.JsonLogEventWithAdditionalFields - Class in org.curioswitch.common.server.framework.logging
 
StackdriverReporter - Class in org.curioswitch.common.server.framework.monitoring
 
StackdriverReporter(Lazy<TraceServiceGrpc.TraceServiceFutureStub>, MonitoringConfig) - Constructor for class org.curioswitch.common.server.framework.monitoring.StackdriverReporter
 
StackdriverSeverityLookup - Class in org.curioswitch.common.server.framework.logging
 
StackdriverSeverityLookup() - Constructor for class org.curioswitch.common.server.framework.logging.StackdriverSeverityLookup
 
start() - Method in class org.curioswitch.common.server.framework.files.FileWatcher
 
staticPath() - Method in interface org.curioswitch.common.server.framework.staticsite.StaticSiteServiceDefinition
The URL path under StaticSiteServiceDefinition.urlRoot() from which static resources will be served.
StaticSiteService - Class in org.curioswitch.common.server.framework.staticsite
A Service which serves a singlepage static site (SPA).
StaticSiteServiceDefinition - Interface in org.curioswitch.common.server.framework.staticsite
A definition of a StaticSiteService that should be registered to a Server.
StaticSiteServiceDefinition.Builder - Class in org.curioswitch.common.server.framework.staticsite
 
submit(Runnable) - Method in class org.curioswitch.common.server.framework.armeria.CurrentRequestContextForwardingExecutorService
 
submit(Runnable, T) - Method in class org.curioswitch.common.server.framework.armeria.CurrentRequestContextForwardingExecutorService
 
submit(Callable<T>) - Method in class org.curioswitch.common.server.framework.armeria.CurrentRequestContextForwardingExecutorService
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.curioswitch.common.testing.mocking.MockitoExtension
 

T

test(String, String, List<String>) - Method in class org.curioswitch.common.server.framework.auth.iam.IamPermissionChecker
 
TestingModule - Class in org.curioswitch.common.testing
A module providing mock implementations of commonly used dependencies.
thenAffect(int) - Method in class org.curioswitch.common.testing.database.DatabaseTestUtil.MockDataProviderStubber
Sets the number of rows that should be considered affected without returning anything.
thenReturn(Record...) - Method in class org.curioswitch.common.testing.database.DatabaseTestUtil.MockDataProviderStubber
Sets the records to be returned when the query is called.
thenThrow(Throwable) - Method in class org.curioswitch.common.testing.database.DatabaseTestUtil.MockDataProviderStubber
Sets the Throwable to be thrown when the query is called.
threadPoolSize() - Method in enum org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
 
toInstant(Timestamp) - Static method in class org.curioswitch.common.server.framework.util.ProtoTimestamps
Converts a Timestamp to Instant.
toJavaTime(Duration) - Static method in class org.curioswitch.common.server.framework.util.ProtoDurations
Converts a Duration to Duration.
toLocalDate(Timestamp, ZoneOffset) - Static method in class org.curioswitch.common.server.framework.util.ProtoTimestamps
Converts a Timestamp to LocalDate.
toLocalDateTime(Timestamp, ZoneOffset) - Static method in class org.curioswitch.common.server.framework.util.ProtoTimestamps
Converts a Timestamp to LocalDateTime.
toSerializable(LogEvent, Writer) - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
 

U

unary(ListenableFuture<Resp>, StreamObserver<Resp>) - Static method in class org.curioswitch.common.server.framework.grpc.GrpcGraphUtil
Wires the result of a ListenableFuture to the response handling methods of a StreamObserver for a unary RPC.
unary(G, StreamObserver<Resp>, Provider<B>) - Static method in class org.curioswitch.common.server.framework.grpc.GrpcGraphUtil
Deprecated.
Use BindsInstance instead of passing the ProducerModule into the component. All modules should be abstract.
unary(StreamObserver<Resp>, Provider<C>) - Static method in class org.curioswitch.common.server.framework.grpc.GrpcGraphUtil
Deprecated.
Use GrpcGraphUtil.unary(ListenableFuture, StreamObserver). The boilerplate removal of .get().execute() is not worth having to implement interfaces.
Unvalidated - Annotation Type in org.curioswitch.common.server.framework.grpc
Qualifier to use to annotate the request to a gRPC producer graph when using BindsInstance.
urlRoot() - Method in interface org.curioswitch.common.server.framework.staticsite.StaticSiteServiceDefinition
The URL root to serve the site from.
usingConfig(FluentEqualityConfig) - Method in class org.curioswitch.common.testing.assertj.SnapshotProtoAssert
 

V

valueOf(String) - Static method in enum org.curioswitch.common.server.framework.armeria.CurrentRequestContextExecutor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.curioswitch.common.server.framework.armeria.CurrentRequestContextExecutor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.curioswitch.common.server.framework.auth.jwt.JwtVerifier.Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.curioswitch.common.server.framework.redis.ArmeriaEventLoopGroupProvider
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[]) - Method in class org.curioswitch.common.server.framework.crypto.ECDSA256Verifier
Verifies that payloadSignature is correct for payload.
verify(String) - Method in class org.curioswitch.common.server.framework.auth.jwt.JwtVerifier
 
verifyQueried(CurioMockDataProvider, String) - Static method in class org.curioswitch.common.testing.database.DatabaseTestUtil
 
verifyQueried(CurioMockDataProvider, String, VerificationMode) - Static method in class org.curioswitch.common.testing.database.DatabaseTestUtil
 

W

WatchedPath - Interface in org.curioswitch.common.server.framework.files
A Path to watch for changes.
WatchedPath.Builder - Class in org.curioswitch.common.server.framework.files
 
whenQueried(CurioMockDataProvider, String) - Static method in class org.curioswitch.common.testing.database.DatabaseTestUtil
Setup a DatabaseTestUtil.MockDataProviderStubber which can be used to set an expectation to return records or throw an exception when the query is executed on the provider.
withArgs(Object...) - Method in class org.curioswitch.common.testing.database.DatabaseTestUtil.MockDataProviderVerifier
Verifies MockDataProvider.execute(org.jooq.tools.jdbc.MockExecuteContext) was called with context bindings of args.
wrapLogEvent(LogEvent) - Method in class org.curioswitch.common.server.framework.logging.StackdriverJsonLayout
 
writeValue(T, JsonGenerator) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into a JSON, writing to the provided JsonGenerator.
writeValue(T, OutputStream) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into JSON, writing to the provided OutputStream.
writeValueAsBytes(T) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into JSON as UTF-8 encoded bytes.
writeValueAsString(T) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into a JSON String.

X

X_CLUSTER_AUTHORIZATION - Static variable in class org.curioswitch.common.server.framework.armeria.Constants
 
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages