| org.apache.http.nio.NHttpConnection
All known Subclasses: org.apache.http.impl.nio.NHttpConnectionBase,
NHttpConnection | public interface NHttpConnection extends HttpConnection,IOControl(Code) | | Abstract non-blocking HTTP connection interface. It contains the current
HTTP context, as well as the actual HTTP request and HTTP response objects
that are being received / transferred over this connection.
author: Oleg Kalnichevski |
Field Summary | |
final public static int | ACTIVE | final public static int | CLOSED | final public static int | CLOSING |
ACTIVE | final public static int ACTIVE(Code) | | |
CLOSED | final public static int CLOSED(Code) | | |
CLOSING | final public static int CLOSING(Code) | | |
getContext | HttpContext getContext()(Code) | | Returns an HTTP execution context associated with this connection.
HTTP context |
getHttpRequest | HttpRequest getHttpRequest()(Code) | | Returns the current HTTP request if one is being received / transmitted.
Otherwise returns null.
an HTTP request if available. Otherwise returns null. |
getHttpResponse | HttpResponse getHttpResponse()(Code) | | Returns the current HTTP response if one is being received / transmitted.
Otherwise returns null.
an HTTP response if available. Otherwise returns null. |
getStatus | int getStatus()(Code) | | |
|
|