| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final String | |
| private final String | |
| private final Response |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CompletableFuture | abort(Throwable
the abort cause, must not be null cause)Implements org. |
| public byte[] | |
| public String | |
| public String | |
| public HttpFields | getHeaders()
Implements org. Returns the headers of this response. |
| public String | |
| public String | |
| public Request | |
| public int | |
| public HttpFields | |
| public HttpVersion | |
| public String |
| content | back to summary |
|---|---|
| private final byte[] content | |
| encoding | back to summary |
|---|---|
| private final String encoding | |
| mediaType | back to summary |
|---|---|
| private final String mediaType | |
| response | back to summary |
|---|---|
| private final Response response | |
| HttpContentResponse | back to summary |
|---|---|
| public HttpContentResponse(Response response, byte[] content, String mediaType, String encoding) | |
| abort | back to summary |
|---|---|
| public CompletableFuture Implements org. Doc from org. Attempts to abort the receive of this response.
| |
| getContent | back to summary |
|---|---|
| public byte[] getContent() Implements org.
| |
| getContentAsString | back to summary |
|---|---|
| public String getContentAsString() Implements org.
| |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Implements org.
| |
| getHeaders | back to summary |
|---|---|
| public HttpFields getHeaders() Implements org. Doc from org. Returns the headers of this response. Some headers sent by the server may not be present,
or be present but modified, while the content is being
processed.
A typical example is the Similarly, the
| |
| getMediaType | back to summary |
|---|---|
| public String getMediaType() Implements org.
| |
| getReason | back to summary |
|---|---|
| public String getReason() Implements org.
| |
| getRequest | back to summary |
|---|---|
| public Request getRequest() Implements org.
| |
| getStatus | back to summary |
|---|---|
| public int getStatus() Implements org.
| |
| getTrailers | back to summary |
|---|---|
| public HttpFields getTrailers() Implements org.
| |
| getVersion | back to summary |
|---|---|
| public HttpVersion getVersion() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |