| Modifier and Type | Field and Description |
|---|---|
| private final BufferAllocator | |
| private final Buffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public EmptyLastHttpContent | copy()
Implements io. |
| public DecoderResult | decoderResult()
Implements io. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public boolean | |
| public Buffer | payload()
Implements io. Buffer representing the payload of the HTTP message.
|
| public Send | send()
Implements io. |
| public void | setDecoderResult(DecoderResult result)
Implements io. |
| public String | |
| public EmptyLastHttpContent | touch(Object
An optional hint about this access and its context. May be hint)null.Overrides default io. |
| public HttpHeaders |
| allocator | back to summary |
|---|---|
| private final BufferAllocator allocator | |
| payload | back to summary |
|---|---|
| private final Buffer payload | |
| EmptyLastHttpContent | back to summary |
|---|---|
| public EmptyLastHttpContent(BufferAllocator allocator) | |
| close | back to summary |
|---|---|
| public void close() Implements io. Doc from io. Close the resource, making it inaccessible. Note, this method is not thread-safe unless otherwise specified.
| |
| copy | back to summary |
|---|---|
| public EmptyLastHttpContent copy() Implements io. Doc from io. Create a copy of this HTTP content instance, and return it.
| |
| decoderResult | back to summary |
|---|---|
| public DecoderResult decoderResult() Implements io. Doc from io. Returns the result of decoding this object.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAccessible | back to summary |
|---|---|
| public boolean isAccessible() Implements io. Doc from io. Check if this object is accessible. | |
| payload | back to summary |
|---|---|
| public Buffer payload() Implements io. Doc from io. Returns the | |
| send | back to summary |
|---|---|
| public Send Implements io. Doc from io. Send this object instance to another Thread, transferring the ownership to the recipient. The object must be in a state where it can be sent, which includes at least being accessible. When sent, this instance will immediately become inaccessible, as if by closing it. All attempts at accessing an object that has been sent, even if that object has not yet been received, should cause an exception to be thrown.
Calling
| |
| 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.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| touch | back to summary |
|---|---|
| public EmptyLastHttpContent touch(Object hint) Overrides default io. Doc from io. Record the current access location for debugging purposes. This information may be included if the resource throws a life-cycle related exception, or if it leaks. If this resource has already been closed, then this method has no effect.
| |
| trailingHeaders | back to summary |
|---|---|
| public HttpHeaders trailingHeaders() Implements io.
| |