Package com.linecorp.armeria.common
@NonNullByDefault
package com.linecorp.armeria.common
Common types.
Starting points
-
ClassDescriptionBuilds a new
HttpRequest
.Provides the information required for building aRequestContext
.A complete HTTP headers and content that are readily available.A complete HTTP request whose content is readily available as a singleHttpData
.A complete HTTP response whose content is readily available as a singleHttpData
.Directives for HTTP caching mechanisms in requests or responses.ARuntimeException
raised when a requested invocation is forced to stop before its completion.Directives for HTTP caching mechanisms in requests.Creates a newClientCacheControl
using the builder pattern.ARuntimeException
raised when the connection to the remote peer has been closed unexpectedly.Provides the common shared thread pools andEventLoopGroup
s which is used when not overridden.AnRpcResponse
implementation which is initially incomplete and can be completed later.Representation of the Content-Disposition type and parameters as defined in RFC 6266.A builder class for creatingContentDisposition
.ARuntimeException
raised when the length of request or response content exceeds its limit.Builds a newContentTooLargeException
.A delegatingEventLoop
that sets theRequestContext
before executing any submitted tasks.A delegatingScheduledExecutorService
that sets theRequestContext
before executing any submitted tasks.A holder ofRequestContext
.An interface defining an HTTP cookie.Builds aCookie
.Represents whether to stream anHttpRequest
orHttpResponse
.AnHttpRequest
that filters objects as they are published.AnHttpResponse
that filters objects as they are published.The system properties that affect Armeria's runtime behavior.Converts a normalized HTTP/2 header name to another HTTP/1 header name.HTTP/2 data that contains a chunk of bytes.HttpEntity<T>An entity of an HTTP message.Contains constant definitions for the HTTP header field names.Immutable HTTP/2 headers.Builds anHttpHeaders
.A streamed HTTP/2 message.HTTP request method.The common interface for HTTP/2 message objects,HttpHeaders
andHttpData
.A streamed HTTP/2Request
.Builds a newHttpRequest
.A duplicator that duplicates aHttpRequest
into one or moreHttpRequest
s, which publish the same elements.Sets properties for building anHttpRequest
.AnHttpRequest
that can haveHttpObject
s written to it.A streamed HTTP/2Response
.Builds a newHttpResponse
.A duplicator that duplicates aHttpResponse
into one or moreHttpResponse
s, which publish the same elements.AnHttpResponse
that can haveHttpObject
s written to it.HTTP response code and its description.The class of HTTP status.A Java SPI (Service Provider Interface) for the default JacksonObjectMapper
.Represents an Internet Media Type (also known as a MIME Type or Content Type).String constants defined inMediaType
class.ARuntimeException
that is raised when attempted to access a null request or response content.A skeletalRequestContext
implementation that helps to implement a non-wrappingRequestContext
.ARuntimeException
raised when a remote peer violated the currentSessionProtocol
.Immutable HTTP query parameters.Builds aQueryParams
.A request.The storage for storingRequestContext
.Creates a newRequestContextStorage
dynamically via Java SPI (Service Provider Interface).Wraps an existingRequestContextStorage
.RequestContextWrapper<T extends RequestContext>Wraps an existingRequestContext
.An entity of an HTTP request.Immutable HTTP/2 headers for anHttpRequest
.Builds aRequestHeaders
.A response stream or a holder of the future result value.An entity of an HTTP response.Immutable HTTP/2 headers for anHttpResponse
.Builds aResponseHeaders
.An RPCRequest
.An RPCResponse
.A pair ofSerializationFormat
andSessionProtocol
.Serialization format of a remote procedure call and its reply.Registers theSerializationFormat
s dynamically via Java SPI (Service Provider Interface).A registration entry of aSerializationFormat
.Directives for HTTP caching mechanisms in responses.Creates a newServerCacheControl
using the builder pattern.Session-level protocol that provides facilities such as framing and flow control.AnHttpMessage
which splits a stream ofHttpObject
s into payloads and HTTP trailers.AnHttpRequest
which splits a stream ofHttpObject
s into HTTP headers and payloads.AnHttpResponse
which splits a stream ofHttpObject
s into HTTP headers and payloads.ARuntimeException
raised when a requested invocation does not complete before its deadline.