Package com.linecorp.armeria.common
@NonNullByDefault
package com.linecorp.armeria.common
Common types.
Starting points
-
ClassDescriptionA skeletal builder implementation for
HttpMessage.Builds a newHttpRequest.Provides the information required for building aRequestContext.Provides common configuration for TLS.AbstractTlsConfigBuilder<SELF extends AbstractTlsConfigBuilder<SELF>>A skeletal builder implementation forTlsProvider.A complete HTTP message whose content is readily available as a singleHttpData.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.AnAggregationOptionsto control the aggregation behavior ofHttpMessage.A builder forAggregationOptions.An immutableAttributesthat holds attributes which can be accessed viaAttributeKey.A builder forAttributes.Provides the getter methods toAttributesandConcurrentAttributes.Sets entries for building anAttributesor updatingConcurrentAttributes.Represents binary data.Directives for HTTP caching mechanisms in requests or responses.ARuntimeExceptionraised when a requested invocation is forced to stop before its completion.Directives for HTTP caching mechanisms in requests.Creates a newClientCacheControlusing the builder pattern.ARuntimeExceptionraised when the connection to the remote peer has been closed unexpectedly.Provides the common shared thread pools andEventLoopGroups which is used when not overridden.AnRpcResponseimplementation which is initially incomplete and can be completed later.AnAttributessupporting concurrency of retrievals and updates.Representation of the Content-Disposition type and parameters as defined in RFC 6266.A builder class for creatingContentDisposition.ARuntimeExceptionraised when the length of request or response content exceeds its limit.Builds a newContentTooLargeException.A delegatingBiConsumerthat makes sure an underlying BiConsumer is executed within theRequestContext.ContextAwareBiFunction<T,U, R> A delegatingBiFunctionthat makes sure an underlying BiFunction is executed within theRequestContext.A delegatingBlockingTaskExecutorthat sets theRequestContextbefore executing any submitted tasks.A delegatingCallablethat makes sure an underlying Callable is executed within theRequestContext.A delegatingConsumerthat makes sure an underlying Consumer is executed within theRequestContext.A delegatingEventLoopthat sets theRequestContextbefore executing any submitted tasks.A delegatingExecutorthat makes sure all submitted tasks are executed within theRequestContext.A delegatingExecutorServicethat makes sure all submitted tasks are executed within theRequestContext.ContextAwareFunction<T,R> A delegatingFunctionthat makes sure an underlying Function is executed within theRequestContext.A delegatingRunnablethat makes sure an underlying Runnable is executed within theRequestContext.A delegatingScheduledExecutorServicethat sets theRequestContextbefore executing any submitted tasks.A holder ofRequestContext.An interface defining an HTTP cookie.Builds aCookie.ABlockHoundIntegrationfor the core module.Injects dependencies that are specified inRequestConverter.value(),ResponseConverter.value(),ExceptionHandler.value(),Decorator.value()andDecoratorFactory.value().An exception which is thrown when anHttpResponsewithout any headers or body is attempted to be sent over the wire.Represents whether to stream anHttpRequestorHttpResponse.AnHttpRequestthat filters objects as they are published.AnHttpResponsethat filters objects as they are published.The system properties that affect Armeria's runtime behavior.A Java SPI (Service Provider Interface) for theFlagsvalues.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.Sets properties for building anHttpMessage.HTTP request method.The common interface for HTTP/2 message objects,HttpHeadersandHttpData.A streamed HTTP/2Request.Builds a newHttpRequest.A duplicator that duplicates aHttpRequestinto one or moreHttpRequests, which publish the same elements.Sets properties for building anHttpRequest.AnHttpRequestthat can haveHttpObjects written to it.A streamed HTTP/2Response.Builds a newHttpResponse.A duplicator that duplicates aHttpResponseinto one or moreHttpResponses, which publish the same elements.AnHttpResponsethat can haveHttpObjects 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 inMediaTypeclass.ARuntimeExceptionthat is raised when attempted to access a null request or response content.Provides the setters for building a path and a query string.ARuntimeExceptionraised when a remote peer violated the currentSessionProtocol.Immutable HTTP query parameters.Builds aQueryParams.A request.The storage for storingRequestContext.Creates a newRequestContextStoragedynamically 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.Provide the setters for building anHttpMethodand a request path.An HTTP request target, as defined in Section 3.2, RFC 9112.RequestTargetform, as defined in Section 3.2, RFC 9112.A response stream or a holder of the future result value.A specialCancellationExceptionthat aborts anHttpRequestafter the correspondingHttpResponseis completed.An entity of an HTTP response.Immutable HTTP/2 headers for anHttpResponse.Builds aResponseHeaders.An RPCRequest.An RPCResponse.A pair ofSerializationFormatandSessionProtocol.Serialization format of a remote procedure call and its reply.Registers theSerializationFormats dynamically via Java SPI (Service Provider Interface).A registration entry of aSerializationFormat.Directives for HTTP caching mechanisms in responses.Creates a newServerCacheControlusing the builder pattern.Session-level protocol that provides facilities such as framing and flow control.AnHttpMessagewhich splits a stream ofHttpObjects into payloads and HTTP trailers.AnHttpRequestwhich splits a stream ofHttpObjects into HTTP headers and payloads.AnHttpResponsewhich splits a stream ofHttpObjects into HTTP headers and payloads.ATimeoutExceptionraised when a stream operation exceeds the configured timeout.ARuntimeExceptionraised when a requested invocation does not complete before its deadline.A pair of aPrivateKeyand aX509Certificatechain.ProvidesTlsKeyPairs for TLS handshakes.A builder forTlsProvider.Sets properties for TLS or SSL.