Package io.netty.handler.codec.http
Interface LastHttpContent
-
- All Superinterfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,HttpContent,HttpObject,io.netty.util.ReferenceCounted
- All Known Subinterfaces:
FullHttpMessage,FullHttpRequest,FullHttpResponse
- All Known Implementing Classes:
DefaultFullHttpRequest,DefaultFullHttpResponse,DefaultLastHttpContent
public interface LastHttpContent extends HttpContent
The lastHttpContentwhich has trailing headers.
-
-
Field Summary
Fields Modifier and Type Field Description static LastHttpContentEMPTY_LAST_CONTENTThe 'end of content' marker in chunked encoding.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LastHttpContentcopy()LastHttpContentduplicate()LastHttpContentreplace(io.netty.buffer.ByteBuf content)LastHttpContentretain()LastHttpContentretain(int increment)LastHttpContentretainedDuplicate()LastHttpContenttouch()LastHttpContenttouch(Object hint)HttpHeaderstrailingHeaders()-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult
-
-
-
-
Field Detail
-
EMPTY_LAST_CONTENT
static final LastHttpContent EMPTY_LAST_CONTENT
The 'end of content' marker in chunked encoding.
-
-
Method Detail
-
trailingHeaders
HttpHeaders trailingHeaders()
-
copy
LastHttpContent copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder- Specified by:
copyin interfaceHttpContent
-
duplicate
LastHttpContent duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
duplicatein interfaceHttpContent
-
retainedDuplicate
LastHttpContent retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainedDuplicatein interfaceHttpContent
-
replace
LastHttpContent replace(io.netty.buffer.ByteBuf content)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder- Specified by:
replacein interfaceHttpContent
-
retain
LastHttpContent retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceHttpContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
LastHttpContent retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceHttpContent- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
LastHttpContent touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceHttpContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
LastHttpContent touch(Object hint)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceHttpContent- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
-