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 lastHttpContent
which has trailing headers.
-
-
Field Summary
Fields Modifier and Type Field Description static LastHttpContent
EMPTY_LAST_CONTENT
The 'end of content' marker in chunked encoding.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LastHttpContent
copy()
LastHttpContent
duplicate()
LastHttpContent
replace(io.netty.buffer.ByteBuf content)
LastHttpContent
retain()
LastHttpContent
retain(int increment)
LastHttpContent
retainedDuplicate()
LastHttpContent
touch()
LastHttpContent
touch(Object hint)
HttpHeaders
trailingHeaders()
-
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:
copy
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
copy
in interfaceHttpContent
-
duplicate
LastHttpContent duplicate()
- Specified by:
duplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
duplicate
in interfaceHttpContent
-
retainedDuplicate
LastHttpContent retainedDuplicate()
- Specified by:
retainedDuplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retainedDuplicate
in interfaceHttpContent
-
replace
LastHttpContent replace(io.netty.buffer.ByteBuf content)
- Specified by:
replace
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
replace
in interfaceHttpContent
-
retain
LastHttpContent retain(int increment)
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceHttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
retain
LastHttpContent retain()
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceHttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
touch
LastHttpContent touch()
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceHttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
touch
LastHttpContent touch(Object hint)
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceHttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
-