| 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 |
AbstractCircuitBreakerClient<I extends Request,O extends Response>
A
Client decorator that handles failures of remote invocation based on circuit breaker pattern. |
class |
CircuitBreakerClient
An
HttpClient decorator that handles failures of HTTP requests based on circuit breaker pattern. |
class |
CircuitBreakerHttpClient
Deprecated.
Use
CircuitBreakerClient. |
class |
CircuitBreakerRpcClient
An
RpcClient decorator that handles failures of RPC remote invocation based on
circuit breaker pattern. |
| Modifier and Type | Class and Description |
|---|---|
class |
DecodingClient
A
DecoratingClient that requests and decodes HTTP encoding (e.g., gzip) that has been applied to the
content of an HttpResponse. |
class |
HttpDecodingClient
Deprecated.
Use
DecodingClient. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConcurrencyLimitingClient<I extends Request,O extends Response>
An abstract
Client decorator that limits the concurrent number of active requests. |
class |
ConcurrencyLimitingClient
An
HttpClient decorator that limits the concurrent number of active HTTP requests. |
class |
ConcurrencyLimitingHttpClient
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContentPreviewingClient
|
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 |
AbstractRetryingClient<I extends Request,O extends Response>
A
Client decorator that handles failures of remote invocation and retries requests. |
class |
BackoffWrapper
Wraps an existing
Backoff. |
class |
RetryingClient
An
HttpClient decorator that handles failures of an invocation and retries HTTP requests. |
class |
RetryingHttpClient
Deprecated.
Use
RetryingClient. |
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 |
AnnotatedService
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 |
AuthService
Decorates an
HttpService to provide HTTP authorization functionality. |
class |
HttpAuthService
Deprecated.
Use
AuthService. |
| 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 |
EncodingService
Decorates an
HttpService to apply HTTP encoding (e.g., gzip) to an HttpService. |
| Modifier and Type | Class and Description |
|---|---|
class |
FileService
An
HttpService that serves static files from a file system. |
class |
HttpFileService
Deprecated.
Use
FileService. |
| 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 |
ContentPreviewingService
|
class |
LoggingService
|
| 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.