Package io.micronaut.http
@NullMarked
package io.micronaut.http
HTTP classes to represent methods, responses and attributes.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionA class representing basic auth authorization header.Accessors for basic attributes outside micronaut-http-router.Special response type that contains the encoded response bytes.Simple response wrapper to implement
ByteBodyHttpResponse.AMutableHttpHeadersimplementation that is case-insensitive.Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Constants for common HTTP headers.Interface for common HTTP header values.HttpMessage<B>Common interface for HTTP messages.A wrapper around anHttpMessage.An enum containing the valid HTTP methods.Represents HTTP query parameters parsed from theHttpRequest.getUri().HttpRequest<B>Common interface for HTTP request implementations.A factory interface forMutableHttpRequestobjects.A wrapper around aHttpRequest.HttpResponse<B>Common interface for HTTP response implementations.A factory interface for creatingMutableHttpResponseinstances.A contract to provide an http response.A wrapper around aHttpResponse.Represents HTTP status codes.The HTTP converters registrar.Enum representing different HTTP versions.A server HTTP request that cleans up resources at the end of its lifecycle.Represents a media type.The request mode values.ExtendsHttpHeadersadd methods for mutation of headers.An interface for anHttpMessagethat is mutable allowing headers and the message body to be set.Mutable version ofHttpParameterswhich allows adding new parameters.An extended version ofHttpRequestthat allows mutating headers, the body etc.Wrapper around an immutableHttpRequestthat allows mutation.A version of theHttpResponseinterface that is mutable allowing the ability to set headers, character encoding etc.AHttpRequestthat is potentially capable of HTTP2 server push.The Fetch Metadata request headers.This interface extendsHttpRequestwith methods that are specific to a request received by an HTTP server.The site relationship values of theSec-Fetch-Siteheader.
BasicHttpAttributes) instead of directly throughAttributeHolder.