Package io.micronaut.http
HTTP classes to represent methods, responses and attributes.
- Since:
- 1.0
-
Interface Summary Interface Description HttpHeaders Constants for common HTTP headers.HttpHeaderValues Interface for common HTTP header values.HttpMessage<B> Common interface for HTTP messages.HttpParameters Represents HTTP query parameters parsed from theHttpRequest.getUri().HttpRequest<B> Common interface for HTTP request implementations.HttpRequestFactory A factory interface forMutableHttpRequestobjects.HttpResponse<B> Common interface for HTTP response implementations.HttpResponseFactory A factory interface for creatingMutableHttpResponseinstances.HttpResponseProvider A contract to provide an http response.MutableHttpHeaders ExtendsHttpHeadersadd methods for mutation of headers.MutableHttpMessage<B> An interface for anHttpMessagethat is mutable allowing headers and the message body to be set.MutableHttpParameters Mutable version ofHttpParameterswhich allows adding new parameters.MutableHttpRequest<B> An extended version ofHttpRequestthat allows mutating headers, the body etc.MutableHttpResponse<B> A version of theHttpResponseinterface that is mutable allowing the ability to set headers, character encoding etc.PushCapableHttpRequest<B> AHttpRequestthat is potentially capable of HTTP2 server push. -
Class Summary Class Description BasicAuth A class representing basic auth authorization header.CaseInsensitiveMutableHttpHeaders AMutableHttpHeadersimplementation that is case-insensitive.FullHttpRequest<B> A request wrapper with knowledge of the body argument.HttpMessageWrapper<B> A wrapper around anHttpMessage.HttpRequestWrapper<B> A wrapper around aHttpRequest.HttpResponseWrapper<B> A wrapper around aHttpResponse.MediaType Represents a media type.MediaTypeConvertersRegistrar The media type converters registrar. -
Enum Summary Enum Description HttpAttributes Common HTTP attributes.HttpMethod An enum containing the valid HTTP methods.HttpStatus Represents HTTP status codes.HttpVersion Enum representing different HTTP versions.