public abstract class HttpResponseStatus extends Object
Modifier and Type | Field and Description |
---|---|
protected AsyncHttpClientConfig |
config |
Constructor and Description |
---|
HttpResponseStatus(Uri uri,
AsyncHttpClientConfig config) |
Modifier and Type | Method and Description |
---|---|
abstract SocketAddress |
getLocalAddress()
Get local address client initiated request from.
|
abstract int |
getProtocolMajorVersion()
Protocol major version.
|
abstract int |
getProtocolMinorVersion()
Protocol minor version.
|
abstract String |
getProtocolName()
Protocol name from status line.
|
abstract String |
getProtocolText()
Full protocol name + version
|
abstract SocketAddress |
getRemoteAddress()
Get remote address client initiated request to.
|
abstract int |
getStatusCode()
Return the response status code
|
abstract String |
getStatusText()
Return the response status text
|
Uri |
getUri()
Return the request
Uri |
protected final AsyncHttpClientConfig config
public HttpResponseStatus(Uri uri, AsyncHttpClientConfig config)
public abstract int getStatusCode()
public abstract String getStatusText()
public abstract String getProtocolName()
public abstract int getProtocolMajorVersion()
public abstract int getProtocolMinorVersion()
public abstract String getProtocolText()
public abstract SocketAddress getRemoteAddress()
null
if asynchronous provider is unable to provide the remote addresspublic abstract SocketAddress getLocalAddress()
null
if asynchronous provider is unable to provide the local addressCopyright © 2015. All Rights Reserved.