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 . |
getStatus
getProtocolVersion, headers
trailingHeaders
duplicate
getDecoderResult, setDecoderResult
content
refCnt, release, release
FullHttpResponse copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface FullHttpMessage
copy
in interface HttpContent
copy
in interface LastHttpContent
FullHttpResponse retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
FullHttpResponse retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
FullHttpResponse setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
in interface HttpMessage
setProtocolVersion
in interface HttpResponse
FullHttpResponse setStatus(HttpResponseStatus status)
HttpResponse
HttpResponse
.setStatus
in interface HttpResponse
Copyright © 2008–2018 The Netty Project. All rights reserved.