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 forMutableHttpRequest
objects.HttpResponse<B> Common interface for HTTP response implementations.HttpResponseFactory A factory interface for creatingMutableHttpResponse
instances.HttpResponseProvider A contract to provide an http response.MutableHttpHeaders ExtendsHttpHeaders
add methods for mutation of headers.MutableHttpMessage<B> An interface for anHttpMessage
that is mutable allowing headers and the message body to be set.MutableHttpParameters Mutable version ofHttpParameters
which allows adding new parameters.MutableHttpRequest<B> An extended version ofHttpRequest
that allows mutating headers, the body etc.MutableHttpResponse<B> A version of theHttpResponse
interface that is mutable allowing the ability to set headers, character encoding etc.PushCapableHttpRequest<B> AHttpRequest
that is potentially capable of HTTP2 server push. -
Class Summary Class Description BasicAuth A class representing basic auth authorization header.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.