| Modifier and Type | Interface and Description |
|---|---|
interface |
Client<I extends Request,O extends Response>
|
interface |
HttpClient
Sends an
HttpRequest to a remote Endpoint. |
interface |
RpcClient
Sends an
RpcRequest to a remote Endpoint. |
interface |
WebClient
An asynchronous web client.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DecoratingClient<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response>
Decorates a
Client. |
class |
SimpleDecoratingClient<I extends Request,O extends Response>
Decorates a
Client. |
class |
SimpleDecoratingHttpClient
Decorates an
HttpClient. |
class |
SimpleDecoratingRpcClient
Decorates an
RpcClient. |
class |
UserClient<I extends Request,O extends Response>
A base class for implementing a user's entry point for sending a
Request. |
| Modifier and Type | Class and Description |
|---|---|
class |
CircuitBreakerClient<I extends Request,O extends Response>
A
Client decorator that handles failures of remote invocation based on circuit breaker pattern. |
class |
CircuitBreakerHttpClient
An
HttpClient decorator that handles failures of HTTP requests based on circuit breaker pattern. |
class |
CircuitBreakerRpcClient
An
RpcClient decorator that handles failures of RPC remote invocation based on
circuit breaker pattern. |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpDecodingClient
A
DecoratingClient that requests and decodes HTTP encoding (e.g., gzip) that has been applied to the
content of an HttpResponse. |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrencyLimitingClient<I extends Request,O extends Response>
An abstract
Client decorator that limits the concurrent number of active requests. |
class |
ConcurrencyLimitingHttpClient
An
HttpClient decorator that limits the concurrent number of active HTTP requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
LoggingClient
|
class |
LoggingRpcClient
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetricCollectingClient
Decorates an
HttpClient to collect metrics into MeterRegistry. |
class |
MetricCollectingRpcClient
Decorates an
RpcClient to collect metrics into MeterRegistry. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Backoff
Controls back off between attempts in a single retry operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBackoff
A skeletal
Backoff implementation. |
class |
BackoffWrapper
Wraps an existing
Backoff. |
class |
RetryingClient<I extends Request,O extends Response>
A
Client decorator that handles failures of remote invocation and retries requests. |
class |
RetryingHttpClient
An
HttpClient decorator that handles failures of an invocation and retries HTTP requests. |
class |
RetryingRpcClient
An
RpcClient decorator that handles failures of an invocation and retries RPC requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUnwrappable<T extends Unwrappable>
Skeletal
Unwrappable implementation. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUnwrappable<T extends Unwrappable>
Skeletal
Unwrappable implementation. |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotatedHttpService
An
HttpService which is defined by a Path or HTTP method annotations. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HttpService
An HTTP/2
Service. |
interface |
HttpServiceWithRoutes
An interface that enables getting all the
Routes where an HttpService should be bound. |
interface |
RpcService
An RPC
Service. |
interface |
RpcServiceWithRoutes
An interface that enables getting all the
Routes where an RpcService should be bound. |
interface |
Service<I extends Request,O extends Response>
|
interface |
ServiceWithRoutes<I extends Request,O extends Response>
|
interface |
TransientHttpService
An
HttpService that handles transient requests, for example, health check requests. |
interface |
TransientRpcService
An
RpcService that handles transient requests, for example, health check requests. |
interface |
TransientService<I extends Request,O extends Response>
A
Service that handles transient requests, for example, health check requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHttpService
A skeletal
HttpService for easier HTTP service implementation. |
class |
DecoratingService<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response>
|
class |
RedirectService
An
HttpService that sends a redirect response such as "307 Temporary Redirect". |
class |
SimpleDecoratingHttpService
An
HttpService that decorates another HttpService. |
class |
SimpleDecoratingRpcService
An
RpcService that decorates another RpcService. |
class |
SimpleDecoratingService<I extends Request,O extends Response>
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpAuthService
Decorates an
HttpService to provide HTTP authorization functionality. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCompositeService<T extends Service<I,O>,I extends Request,O extends Response>
|
class |
SimpleCompositeRpcService
A general purpose
AbstractCompositeService implementation. |
class |
SimpleCompositeService
A general purpose
AbstractCompositeService implementation. |
| Modifier and Type | Class and Description |
|---|---|
class |
CorsService
Decorates an
HttpService to add the
Cross-Origin Resource Sharing
(CORS) support. |
| Modifier and Type | Class and Description |
|---|---|
class |
DocService
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpEncodingService
Decorates an
HttpService to apply HTTP encoding (e.g., gzip) to an HttpService. |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpFileService
An
HttpService that serves static files from a file system. |
| Modifier and Type | Class and Description |
|---|---|
class |
HealthCheckService
An
HttpService that responds with HTTP status "200 OK" if the server is healthy and can
accept requests and HTTP status "503 Service Not Available" if the server is unhealthy and cannot
accept requests. |
class |
HttpHealthCheckService
Deprecated.
Use
HealthCheckService. |
class |
ManagedHttpHealthCheckService
Deprecated.
Use
HealthCheckService. |
| Modifier and Type | Class and Description |
|---|---|
class |
LoggingService
|
| Modifier and Type | Class and Description |
|---|---|
class |
StructuredLoggingService<L>
A decorating service which provides support of structured and optionally externalized request/response
content logging.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetricCollectingService
Decorates an
HttpService to collect metrics into MeterRegistry. |
class |
PrometheusExpositionService
Exposes Prometheus metrics in text
format 0.0.4.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractThrottlingService<I extends Request,O extends Response>
Decorates a
Service to throttle incoming requests. |
class |
ThrottlingRpcService
Decorates an RPC
Service to throttle incoming requests. |
class |
ThrottlingService
Decorates an
HttpService to throttle incoming requests. |
Copyright © 2020 LeanCloud. All rights reserved.