| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuf | |
| private boolean | |
| private HttpHeaders | |
| private DecoderResult | |
| private HttpResponseStatus | |
| private HttpVersion |
| Access | Constructor and Description |
|---|---|
| pack-priv | AssembledHttpResponse(boolean head, HttpVersion version, HttpResponseStatus status, HttpHeaders headers)
|
| pack-priv | AssembledHttpResponse(boolean head, HttpVersion version, HttpResponseStatus status, HttpHeaders headers, ByteBuf content)
|
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | content()
Implements io. Return the data which is held by this |
| public HttpContent | copy()
Implements io. Creates a deep copy of this |
| public DecoderResult | decoderResult()
Implements io. Returns the result of decoding this object. |
| public HttpContent | duplicate()
Implements io. Duplicates this |
| public DecoderResult | |
| public HttpVersion | |
| public HttpResponseStatus | |
| pack-priv boolean | |
| public HttpHeaders | headers()
Implements io. Returns the headers of this message. |
| public HttpVersion | protocolVersion()
Implements io. Returns the protocol version of this |
| public int | refCnt()
Implements io. Returns the reference count of this object. |
| public boolean | release()
Implements io. Decreases the reference count by |
| public boolean | release(int decrement)
Implements io. Decreases the reference count by the specified |
| public HttpContent | replace(ByteBuf content)
Implements io. Returns a new |
| public AssembledHttpResponse | retain()
Implements io. Increases the reference count by |
| public AssembledHttpResponse | retain(int increment)
Implements io. Increases the reference count by the specified |
| public HttpContent | retainedDuplicate()
Implements io. Duplicates this |
| public void | setDecoderResult(DecoderResult result)
Implements io. Updates the result of decoding this object. |
| public AssembledHttpResponse | setProtocolVersion(HttpVersion version)
Implements io. Set the protocol version of this |
| public AssembledHttpResponse | setStatus(HttpResponseStatus status)
Implements io. Set the status of this |
| public HttpResponseStatus | status()
Implements io. Returns the status of this |
| public AssembledHttpResponse | touch()
Implements io. Records the current access location of this object for debugging purposes. |
| public AssembledHttpResponse | touch(Object hint)
Implements io. Records the current access location of this object with an additional arbitrary information for debugging purposes. |
| content | back to summary |
|---|---|
| private final ByteBuf content | |
| head | back to summary |
|---|---|
| private boolean head | |
| headers | back to summary |
|---|---|
| private HttpHeaders headers | |
| result | back to summary |
|---|---|
| private DecoderResult result | |
| status | back to summary |
|---|---|
| private HttpResponseStatus status | |
| version | back to summary |
|---|---|
| private HttpVersion version | |
| AssembledHttpResponse | back to summary |
|---|---|
| pack-priv AssembledHttpResponse(boolean head, HttpVersion version, HttpResponseStatus status, HttpHeaders headers) | |
| AssembledHttpResponse | back to summary |
|---|---|
| pack-priv AssembledHttpResponse(boolean head, HttpVersion version, HttpResponseStatus status, HttpHeaders headers, ByteBuf content) | |
| content | back to summary |
|---|---|
| public ByteBuf content() Implements io. Doc from io. Return the data which is held by this
| |
| copy | back to summary |
|---|---|
| public HttpContent copy() Implements io. Doc from io. Creates a deep copy of this
| |
| decoderResult | back to summary |
|---|---|
| public DecoderResult decoderResult() Implements io. Doc from io. Returns the result of decoding this object.
| |
| duplicate | back to summary |
|---|---|
| public HttpContent duplicate() Implements io. Doc from io. Duplicates this
| |
| getDecoderResult | back to summary |
|---|---|
| public DecoderResult getDecoderResult() Implements io.
| |
| getProtocolVersion | back to summary |
|---|---|
| public HttpVersion getProtocolVersion() Implements io.
| |
| getStatus | back to summary |
|---|---|
| public HttpResponseStatus getStatus() Implements io.
| |
| head | back to summary |
|---|---|
| pack-priv boolean head() | |
| headers | back to summary |
|---|---|
| public HttpHeaders headers() Implements io. Doc from io. Returns the headers of this message.
| |
| protocolVersion | back to summary |
|---|---|
| public HttpVersion protocolVersion() Implements io. Doc from io. Returns the protocol version of this
| |
| refCnt | back to summary |
|---|---|
| public int refCnt() Implements io. Doc from io. Returns the reference count of this object. If
| |
| release | back to summary |
|---|---|
| public boolean release() Implements io. Doc from io. Decreases the reference count by
| |
| release | back to summary |
|---|---|
| public boolean release(int decrement) Implements io. Doc from io. Decreases the reference count by the specified
| |
| replace | back to summary |
|---|---|
| public HttpContent replace(ByteBuf content) Implements io. Doc from io. Returns a new
| |
| retain | back to summary |
|---|---|
| public AssembledHttpResponse retain() Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public AssembledHttpResponse retain(int increment) Implements io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public HttpContent retainedDuplicate() Implements io. Doc from io. Duplicates this
| |
| setDecoderResult | back to summary |
|---|---|
| public void setDecoderResult(DecoderResult result) Implements io. Doc from io. Updates the result of decoding this object. This method is supposed to be invoked by a decoder. Do not call this method unless you know what you are doing.
| |
| setProtocolVersion | back to summary |
|---|---|
| public AssembledHttpResponse setProtocolVersion(HttpVersion version) Implements io. Doc from io. Set the protocol version of this
| |
| setStatus | back to summary |
|---|---|
| public AssembledHttpResponse setStatus(HttpResponseStatus status) Implements io. Doc from io. Set the status of this
| |
| status | back to summary |
|---|---|
| public HttpResponseStatus status() Implements io. Doc from io. Returns the status of this
| |
| touch | back to summary |
|---|---|
| public AssembledHttpResponse touch() Implements io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public AssembledHttpResponse touch(Object hint) Implements io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |