Package io.micronaut.http
Class FullHttpRequest<B>
java.lang.Object
io.micronaut.http.HttpMessageWrapper<B>
io.micronaut.http.HttpRequestWrapper<B>
io.micronaut.http.FullHttpRequest<B>
- Type Parameters:
B- The body type
- All Implemented Interfaces:
io.micronaut.core.attr.AttributeHolder,io.micronaut.core.attr.MutableAttributeHolder,HttpMessage<B>,HttpRequest<B>
A request wrapper with knowledge of the body argument.
- Since:
- 1.1.0
-
Field Summary
Fields inherited from interface io.micronaut.http.HttpRequest
SCHEME_HTTP, SCHEME_HTTPS -
Constructor Summary
ConstructorsConstructorDescriptionFullHttpRequest(HttpRequest<B> delegate, io.micronaut.core.type.Argument<B> bodyType) -
Method Summary
Methods inherited from class io.micronaut.http.HttpRequestWrapper
accept, getCertificate, getCookies, getDelegate, getHttpVersion, getLocale, getMethod, getMethodName, getParameters, getPath, getRemoteAddress, getServerAddress, getServerName, getUri, getUserPrincipal, getUserPrincipal, isSecure, setAttributeMethods inherited from class io.micronaut.http.HttpMessageWrapper
getAttributes, getBody, getBody, getBody, getHeadersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.attr.AttributeHolder
getAttribute, getAttributeMethods inherited from interface io.micronaut.http.HttpMessage
getAttributes, getBody, getBody, getBody, getBodyWriter, getCharacterEncoding, getContentLength, getContentType, getHeadersMethods inherited from interface io.micronaut.http.HttpRequest
getOrigin, mutateMethods inherited from interface io.micronaut.core.attr.MutableAttributeHolder
removeAttribute
-
Constructor Details
-
FullHttpRequest
- Parameters:
delegate- The Http RequestbodyType- The Body Type
-
-
Method Details
-
getBody
- Specified by:
getBodyin interfaceHttpMessage<B>- Overrides:
getBodyin classHttpMessageWrapper<B>- Returns:
- The request body
-