Class HttpObjectAggregator.AggregatedFullHttpRequest
java.lang.Object
io.netty.handler.codec.http.HttpObjectAggregator.AggregatedFullHttpMessage
io.netty.handler.codec.http.HttpObjectAggregator.AggregatedFullHttpRequest
- All Implemented Interfaces:
ByteBufHolder, DecoderResultProvider, FullHttpMessage, FullHttpRequest, HttpContent, HttpMessage, HttpObject, HttpRequest, LastHttpContent, ReferenceCounted
- Enclosing class:
HttpObjectAggregator
private static final class HttpObjectAggregator.AggregatedFullHttpRequest
extends HttpObjectAggregator.AggregatedFullHttpMessage
implements FullHttpRequest
-
Field Summary
Fields inherited from class HttpObjectAggregator.AggregatedFullHttpMessage
messageFields inherited from interface LastHttpContent
EMPTY_LAST_CONTENT -
Constructor Summary
ConstructorsConstructorDescriptionAggregatedFullHttpRequest(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a deep copy of thisByteBufHolder.Duplicates thisByteBufHolder.getUri()method()Returns theHttpMethodof thisHttpRequest.Returns a newByteBufHolderwhich contains the specifiedcontent.retain()Increases the reference count by1.retain(int increment) Increases the reference count by the specifiedincrement.Duplicates thisByteBufHolder.setMethod(HttpMethod method) Set theHttpMethodof thisHttpRequest.setProtocolVersion(HttpVersion version) Set the protocol version of thisHttpMessageSet the requested URI (or alternatively, path)toString()touch()Records the current access location of this object for debugging purposes.Records the current access location of this object with an additional arbitrary information for debugging purposes.uri()Returns the requested URI (or alternatively, path)Methods inherited from class HttpObjectAggregator.AggregatedFullHttpMessage
content, decoderResult, getDecoderResult, getProtocolVersion, headers, protocolVersion, refCnt, release, release, setDecoderResult, setTrailingHeaders, trailingHeadersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ByteBufHolder
contentMethods inherited from interface DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface HttpMessage
getProtocolVersion, headers, protocolVersionMethods inherited from interface HttpObject
getDecoderResultMethods inherited from interface LastHttpContent
trailingHeadersMethods inherited from interface ReferenceCounted
refCnt, release, release
-
Constructor Details
-
AggregatedFullHttpRequest
AggregatedFullHttpRequest(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders)
-
-
Method Details
-
copy
Description copied from interface:ByteBufHolderCreates a deep copy of thisByteBufHolder.- Specified by:
copyin interfaceByteBufHolder- Specified by:
copyin interfaceFullHttpMessage- Specified by:
copyin interfaceFullHttpRequest- Specified by:
copyin interfaceHttpContent- Specified by:
copyin interfaceLastHttpContent- Specified by:
copyin classHttpObjectAggregator.AggregatedFullHttpMessage
-
duplicate
Description copied from interface:ByteBufHolderDuplicates thisByteBufHolder. Be aware that this will not automatically callByteBufHolder.retain().- Specified by:
duplicatein interfaceByteBufHolder- Specified by:
duplicatein interfaceFullHttpMessage- Specified by:
duplicatein interfaceFullHttpRequest- Specified by:
duplicatein interfaceHttpContent- Specified by:
duplicatein interfaceLastHttpContent- Specified by:
duplicatein classHttpObjectAggregator.AggregatedFullHttpMessage
-
retainedDuplicate
Description copied from interface:ByteBufHolderDuplicates thisByteBufHolder. This method returns a retained duplicate unlikeByteBufHolder.duplicate().- Specified by:
retainedDuplicatein interfaceByteBufHolder- Specified by:
retainedDuplicatein interfaceFullHttpMessage- Specified by:
retainedDuplicatein interfaceFullHttpRequest- Specified by:
retainedDuplicatein interfaceHttpContent- Specified by:
retainedDuplicatein interfaceLastHttpContent- Specified by:
retainedDuplicatein classHttpObjectAggregator.AggregatedFullHttpMessage- See Also:
-
replace
Description copied from interface:ByteBufHolderReturns a newByteBufHolderwhich contains the specifiedcontent.- Specified by:
replacein interfaceByteBufHolder- Specified by:
replacein interfaceFullHttpMessage- Specified by:
replacein interfaceFullHttpRequest- Specified by:
replacein interfaceHttpContent- Specified by:
replacein interfaceLastHttpContent
-
retain
Description copied from interface:ReferenceCountedIncreases the reference count by the specifiedincrement.- Specified by:
retainin interfaceByteBufHolder- Specified by:
retainin interfaceFullHttpMessage- Specified by:
retainin interfaceFullHttpRequest- Specified by:
retainin interfaceHttpContent- Specified by:
retainin interfaceLastHttpContent- Specified by:
retainin interfaceReferenceCounted- Overrides:
retainin classHttpObjectAggregator.AggregatedFullHttpMessage
-
retain
Description copied from interface:ReferenceCountedIncreases the reference count by1.- Specified by:
retainin interfaceByteBufHolder- Specified by:
retainin interfaceFullHttpMessage- Specified by:
retainin interfaceFullHttpRequest- Specified by:
retainin interfaceHttpContent- Specified by:
retainin interfaceLastHttpContent- Specified by:
retainin interfaceReferenceCounted- Overrides:
retainin classHttpObjectAggregator.AggregatedFullHttpMessage
-
touch
Description copied from interface:ReferenceCountedRecords the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you viaResourceLeakDetector. This method is a shortcut totouch(null).- Specified by:
touchin interfaceByteBufHolder- Specified by:
touchin interfaceFullHttpMessage- Specified by:
touchin interfaceFullHttpRequest- Specified by:
touchin interfaceHttpContent- Specified by:
touchin interfaceLastHttpContent- Specified by:
touchin interfaceReferenceCounted- Overrides:
touchin classHttpObjectAggregator.AggregatedFullHttpMessage
-
touch
Description copied from interface:ReferenceCountedRecords the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you viaResourceLeakDetector.- Specified by:
touchin interfaceByteBufHolder- Specified by:
touchin interfaceFullHttpMessage- Specified by:
touchin interfaceFullHttpRequest- Specified by:
touchin interfaceHttpContent- Specified by:
touchin interfaceLastHttpContent- Specified by:
touchin interfaceReferenceCounted- Overrides:
touchin classHttpObjectAggregator.AggregatedFullHttpMessage
-
setMethod
Description copied from interface:HttpRequestSet theHttpMethodof thisHttpRequest.- Specified by:
setMethodin interfaceFullHttpRequest- Specified by:
setMethodin interfaceHttpRequest
-
setUri
Description copied from interface:HttpRequestSet the requested URI (or alternatively, path)- Specified by:
setUriin interfaceFullHttpRequest- Specified by:
setUriin interfaceHttpRequest
-
getMethod
- Specified by:
getMethodin interfaceHttpRequest
-
getUri
- Specified by:
getUriin interfaceHttpRequest
-
method
Description copied from interface:HttpRequestReturns theHttpMethodof thisHttpRequest.- Specified by:
methodin interfaceHttpRequest- Returns:
- The
HttpMethodof thisHttpRequest
-
uri
Description copied from interface:HttpRequestReturns the requested URI (or alternatively, path)- Specified by:
uriin interfaceHttpRequest- Returns:
- The URI being requested
-
setProtocolVersion
Description copied from interface:HttpMessageSet the protocol version of thisHttpMessage- Specified by:
setProtocolVersionin interfaceFullHttpRequest- Specified by:
setProtocolVersionin interfaceHttpMessage- Specified by:
setProtocolVersionin interfaceHttpRequest- Overrides:
setProtocolVersionin classHttpObjectAggregator.AggregatedFullHttpMessage
-
toString
-