| Interface | Description |
|---|---|
| AggregatedHttpRequest |
A complete HTTP request whose content is readily available as a single
HttpData. |
| AggregatedHttpResponse |
A complete HTTP response whose content is readily available as a single
HttpData. |
| Cookie |
An interface defining an
HTTP cookie.
|
| Cookies | |
| HttpData |
HTTP/2 data.
|
| HttpHeaders |
Immutable HTTP/2 headers.
|
| HttpHeadersBuilder |
Builds an
HttpHeaders. |
| HttpObject |
The common interface for HTTP/2 message objects,
HttpHeaders and HttpData. |
| HttpParameters | Deprecated
Use
QueryParams. |
| HttpRequest |
A streamed HTTP/2
Request. |
| HttpRequestDuplicator |
A duplicator that duplicates a
HttpRequest into one or more HttpRequests,
which publish the same elements. |
| HttpRequestWriter |
An
HttpRequest that can have HttpObjects written to it. |
| HttpResponse |
A streamed HTTP/2
Response. |
| HttpResponseDuplicator |
A duplicator that duplicates a
HttpResponse into one or more HttpResponses,
which publish the same elements. |
| HttpResponseWriter |
An
HttpResponse that can have HttpObjects written to it. |
| QueryParams |
Immutable HTTP query parameters.
|
| QueryParamsBuilder |
Builds a
QueryParams. |
| Request |
A request.
|
| RequestContext | |
| RequestHeaders |
Immutable HTTP/2 headers for an
HttpRequest. |
| RequestHeadersBuilder |
Builds a
RequestHeaders. |
| RequestId | |
| Response |
A response stream or a holder of the future result value.
|
| ResponseHeaders |
Immutable HTTP/2 headers for an
HttpResponse. |
| ResponseHeadersBuilder |
Builds a
ResponseHeaders. |
| RpcRequest |
An RPC
Request. |
| RpcResponse |
An RPC
Response. |
| Class | Description |
|---|---|
| AbstractHttpData |
Support APIs for creating well-behaved
HttpData objects. |
| AbstractRequestContextBuilder |
Provides the information required for building a
RequestContext. |
| CacheControl |
Directives for HTTP caching mechanisms in requests or responses.
|
| ClientCacheControl |
Directives for HTTP caching mechanisms in requests.
|
| ClientCacheControlBuilder |
Creates a new
ClientCacheControl using the builder pattern. |
| CommonPools |
Provides the common shared thread pools and
EventLoopGroups which is used when not overridden. |
| CookieBuilder |
Builds a
Cookie. |
| DefaultHttpData | Deprecated
Use the factory methods in
HttpData. |
| DefaultHttpParameters | Deprecated
Use
QueryParams. |
| DefaultHttpRequest | Deprecated |
| DefaultHttpResponse | Deprecated |
| DefaultRpcRequest | Deprecated
Use the factory methods in
RpcRequest. |
| DefaultRpcResponse |
Default
RpcResponse implementation. |
| DeferredHttpResponse | Deprecated |
| FilteredHttpRequest |
An
HttpRequest that filters objects as they are published. |
| FilteredHttpResponse |
An
HttpResponse that filters objects as they are published. |
| Flags |
The system properties that affect Armeria's runtime behavior.
|
| HttpHeaderNames |
Contains constant definitions for the HTTP header field names.
|
| HttpStatus |
HTTP response code and its description.
|
| MediaType |
Represents an Internet Media Type
(also known as a MIME Type or Content Type).
|
| MediaTypeNames |
String constants defined in
MediaType class. |
| MediaTypeSet | |
| NonWrappingRequestContext |
A skeletal
RequestContext implementation that helps to implement a non-wrapping
RequestContext. |
| RequestContextWrapper<T extends RequestContext> |
Wraps an existing
RequestContext. |
| Scheme |
A pair of
SerializationFormat and SessionProtocol. |
| SerializationFormat |
Serialization format of a remote procedure call and its reply.
|
| SerializationFormatProvider |
Registers the
SerializationFormats dynamically via Java SPI (Service Provider Interface). |
| SerializationFormatProvider.Entry |
A registration entry of a
SerializationFormat. |
| ServerCacheControl |
Directives for HTTP caching mechanisms in responses.
|
| ServerCacheControlBuilder |
Creates a new
ServerCacheControl using the builder pattern. |
| Enum | Description |
|---|---|
| HttpMethod |
HTTP request method.
|
| HttpStatusClass |
The class of HTTP status.
|
| SessionProtocol |
Session-level protocol that provides facilities such as framing and flow control.
|
| Exception | Description |
|---|---|
| ClosedSessionException |
A
RuntimeException raised when the connection to the remote peer has been closed unexpectedly. |
| ContentTooLargeException |
A
RuntimeException raised when the length of request or response content exceeds its limit. |
| ProtocolViolationException |
A
RuntimeException raised when a remote peer violated the current SessionProtocol. |
| TimeoutException |
A
RuntimeException that is raised when a requested invocation did not complete before its deadline. |
Copyright © 2020 LeanCloud. All rights reserved.