Package io.netty.handler.codec.http
Interface FullHttpResponse
-
- All Superinterfaces:
io.netty.buffer.ByteBufHolder
,io.netty.handler.codec.DecoderResultProvider
,FullHttpMessage
,HttpContent
,HttpMessage
,HttpObject
,HttpResponse
,LastHttpContent
,io.netty.util.ReferenceCounted
- All Known Implementing Classes:
DefaultFullHttpResponse
public interface FullHttpResponse extends HttpResponse, FullHttpMessage
Combination of aHttpResponse
andFullHttpMessage
. So it represent a complete http response.
-
-
Field Summary
-
Fields inherited from interface io.netty.handler.codec.http.LastHttpContent
EMPTY_LAST_CONTENT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FullHttpResponse
copy()
FullHttpResponse
duplicate()
FullHttpResponse
replace(io.netty.buffer.ByteBuf content)
FullHttpResponse
retain()
FullHttpResponse
retain(int increment)
FullHttpResponse
retainedDuplicate()
FullHttpResponse
setProtocolVersion(HttpVersion version)
Set the protocol version of thisHttpMessage
FullHttpResponse
setStatus(HttpResponseStatus status)
Set the status of thisHttpResponse
.FullHttpResponse
touch()
FullHttpResponse
touch(Object hint)
-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
-
Methods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult
-
Methods inherited from interface io.netty.handler.codec.http.HttpResponse
getStatus, status
-
Methods inherited from interface io.netty.handler.codec.http.LastHttpContent
trailingHeaders
-
-
-
-
Method Detail
-
copy
FullHttpResponse copy()
- Specified by:
copy
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
copy
in interfaceFullHttpMessage
- Specified by:
copy
in interfaceHttpContent
- Specified by:
copy
in interfaceLastHttpContent
-
duplicate
FullHttpResponse duplicate()
- Specified by:
duplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
duplicate
in interfaceFullHttpMessage
- Specified by:
duplicate
in interfaceHttpContent
- Specified by:
duplicate
in interfaceLastHttpContent
-
retainedDuplicate
FullHttpResponse retainedDuplicate()
- Specified by:
retainedDuplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retainedDuplicate
in interfaceFullHttpMessage
- Specified by:
retainedDuplicate
in interfaceHttpContent
- Specified by:
retainedDuplicate
in interfaceLastHttpContent
-
replace
FullHttpResponse replace(io.netty.buffer.ByteBuf content)
- Specified by:
replace
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
replace
in interfaceFullHttpMessage
- Specified by:
replace
in interfaceHttpContent
- Specified by:
replace
in interfaceLastHttpContent
-
retain
FullHttpResponse retain(int increment)
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceFullHttpMessage
- Specified by:
retain
in interfaceHttpContent
- Specified by:
retain
in interfaceLastHttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
retain
FullHttpResponse retain()
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceFullHttpMessage
- Specified by:
retain
in interfaceHttpContent
- Specified by:
retain
in interfaceLastHttpContent
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
touch
FullHttpResponse touch()
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceFullHttpMessage
- Specified by:
touch
in interfaceHttpContent
- Specified by:
touch
in interfaceLastHttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
touch
FullHttpResponse touch(Object hint)
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceFullHttpMessage
- Specified by:
touch
in interfaceHttpContent
- Specified by:
touch
in interfaceLastHttpContent
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
setProtocolVersion
FullHttpResponse setProtocolVersion(HttpVersion version)
Description copied from interface:HttpMessage
Set the protocol version of thisHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpResponse
-
setStatus
FullHttpResponse setStatus(HttpResponseStatus status)
Description copied from interface:HttpResponse
Set the status of thisHttpResponse
.- Specified by:
setStatus
in interfaceHttpResponse
-
-