public abstract class HttpClientResponse extends HttpReadStreamBase
An instance of this class is provided to the user via a Handler
instance that was specified when one of the HTTP method operations, or the
generic HttpClient.request(String, String, org.vertx.java.core.Handler)
method was called on an instance of HttpClient.
It implements ReadStream so it can be used with
Pump to pump data with flow control.
Instances of this class are not thread-safe
| Modifier and Type | Field and Description |
|---|---|
int |
statusCode
The HTTP status code of the response
|
java.lang.String |
statusMessage
The HTTP status message of the response
|
| Modifier | Constructor and Description |
|---|---|
protected |
HttpClientResponse(int statusCode,
java.lang.String statusMessage) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.Map<java.lang.String,java.lang.String> |
headers() |
abstract java.util.Map<java.lang.String,java.lang.String> |
trailers() |
bodyHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdataHandler, endHandler, exceptionHandler, pause, resumepublic final int statusCode
public final java.lang.String statusMessage