public interface FullHttpResponse extends HttpResponse, FullHttpMessage
HttpResponse and FullHttpMessage. So it represent a complete http response.EMPTY_LAST_CONTENT| Modifier and Type | Method and Description |
|---|---|
FullHttpResponse |
copy() |
FullHttpResponse |
copy(io.netty.buffer.ByteBuf newContent)
Create a copy of this
FullHttpMessage with alternative content. |
FullHttpResponse |
duplicate() |
FullHttpResponse |
retain() |
FullHttpResponse |
retain(int increment) |
FullHttpResponse |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpResponse |
setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse. |
FullHttpResponse |
touch() |
FullHttpResponse |
touch(Object hint) |
statusheaders, protocolVersiontrailingHeadersFullHttpResponse copy(io.netty.buffer.ByteBuf newContent)
FullHttpMessageFullHttpMessage with alternative content.copy in interface FullHttpMessagenewContent - The buffer to use instead of this FullHttpMessage's content in the copy operation.
NOTE: retain will NOT be called on this buffer. null results in an empty default choice buffer.
FullHttpResponse copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in interface FullHttpMessagecopy in interface HttpContentcopy in interface LastHttpContentFullHttpResponse retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface io.netty.util.ReferenceCountedFullHttpResponse retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface io.netty.util.ReferenceCountedFullHttpResponse touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface FullHttpMessagetouch in interface HttpContenttouch in interface LastHttpContenttouch in interface io.netty.util.ReferenceCountedFullHttpResponse touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface FullHttpMessagetouch in interface HttpContenttouch in interface LastHttpContenttouch in interface io.netty.util.ReferenceCountedFullHttpResponse duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in interface FullHttpMessageduplicate in interface HttpContentduplicate in interface LastHttpContentFullHttpResponse setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpResponseFullHttpResponse setStatus(HttpResponseStatus status)
HttpResponseHttpResponse.setStatus in interface HttpResponseCopyright © 2008–2015 The Netty Project. All rights reserved.