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()
Create a deep copy of this
ByteBufHolder. |
FullHttpResponse |
retain()
Increases the reference count by
1. |
FullHttpResponse |
retain(int increment)
Increases the reference count by the specified
increment. |
FullHttpResponse |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpResponse |
setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse. |
getStatusgetProtocolVersion, headerstrailingHeadersduplicategetDecoderResult, setDecoderResultcontentrefCnt, release, releaseFullHttpResponse copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface FullHttpMessagecopy in interface HttpContentcopy in interface LastHttpContentFullHttpResponse retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpResponse retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpResponse setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpResponseFullHttpResponse setStatus(HttpResponseStatus status)
HttpResponseHttpResponse.setStatus in interface HttpResponseCopyright © 2008–2018 The Netty Project. All rights reserved.