| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private HttpChannel | |
| private final HttpDestination | |
| private final ResponseListeners | |
| private final AutoLock | |
| private static final Logger | |
| private final HttpRequest | |
| private Throwable | |
| private HttpExchange. | |
| private final HttpResponse | |
| private Throwable | |
| private HttpExchange. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv boolean | Returns: true if the channel could be associated, false otherwisethe channel to associate to this exchange channel)Associates the given |
| private boolean | |
| private boolean | |
| pack-priv void | |
| public HttpConversation | |
| public long | getExpireNanoTime()
Implements org. Returns the expiration time in nanoseconds. |
| private HttpChannel | |
| public HttpDestination | |
| public HttpRequest | |
| public Throwable | |
| public HttpResponse | |
| public Throwable | |
| public ResponseListeners | |
| public boolean | |
| private void | |
| public void | |
| public boolean | |
| public void | |
| public boolean | |
| public Result | |
| public Result | |
| public String |
| _channel | back to summary |
|---|---|
| private HttpChannel _channel | |
| destination | back to summary |
|---|---|
| private final HttpDestination destination | |
| listeners | back to summary |
|---|---|
| private final ResponseListeners listeners | |
| lock | back to summary |
|---|---|
| private final AutoLock lock | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| request | back to summary |
|---|---|
| private final HttpRequest request | |
| requestFailure | back to summary |
|---|---|
| private Throwable requestFailure | |
| requestState | back to summary |
|---|---|
| private HttpExchange. | |
| response | back to summary |
|---|---|
| private final HttpResponse response | |
| responseFailure | back to summary |
|---|---|
| private Throwable responseFailure | |
| responseState | back to summary |
|---|---|
| private HttpExchange. | |
| HttpExchange | back to summary |
|---|---|
| public HttpExchange(HttpDestination destination, HttpRequest request) | |
| HttpExchange | back to summary |
|---|---|
| public HttpExchange(HttpDestination destination, HttpRequest request, ResponseListeners listeners) | |
| abort | back to summary |
|---|---|
| public void abort(Throwable failure, Promise<Boolean> promise) | |
| associate | back to summary |
|---|---|
| pack-priv boolean associate(HttpChannel channel) Associates the given Works in strict collaboration with
| |
| completeRequest | back to summary |
|---|---|
| private boolean completeRequest(Throwable failure) | |
| completeResponse | back to summary |
|---|---|
| private boolean completeResponse(Throwable failure) | |
| disassociate | back to summary |
|---|---|
| pack-priv void disassociate(HttpChannel channel) | |
| getConversation | back to summary |
|---|---|
| public HttpConversation getConversation() | |
| getExpireNanoTime | back to summary |
|---|---|
| public long getExpireNanoTime() Implements org. Doc from org. Returns the expiration time in nanoseconds. The value to return must be calculated taking into account the current nanoTime, for example: expireNanoTime = NanoTime.now() + timeoutNanos
Returning
| |
| getHttpChannel | back to summary |
|---|---|
| private HttpChannel getHttpChannel() | |
| getHttpDestination | back to summary |
|---|---|
| public HttpDestination getHttpDestination() | |
| getRequest | back to summary |
|---|---|
| public HttpRequest getRequest() | |
| getRequestFailure | back to summary |
|---|---|
| public Throwable getRequestFailure() | |
| getResponse | back to summary |
|---|---|
| public HttpResponse getResponse() | |
| getResponseFailure | back to summary |
|---|---|
| public Throwable getResponseFailure() | |
| getResponseListeners | back to summary |
|---|---|
| public ResponseListeners getResponseListeners() | |
| isResponseComplete | back to summary |
|---|---|
| public boolean isResponseComplete() | |
| notifyFailureComplete | back to summary |
|---|---|
| private void notifyFailureComplete(Throwable failure) | |
| proceed | back to summary |
|---|---|
| public void proceed(Throwable failure) | |
| requestComplete | back to summary |
|---|---|
| public boolean requestComplete(Throwable failure) | |
| resetResponse | back to summary |
|---|---|
| public void resetResponse() | |
| responseComplete | back to summary |
|---|---|
| public boolean responseComplete(Throwable failure) | |
| terminateRequest | back to summary |
|---|---|
| public Result terminateRequest() | |
| terminateResponse | back to summary |
|---|---|
| public Result terminateResponse() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpExchange. | |
| public static final HttpExchange. | |
| public static final HttpExchange. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HttpExchange. | |
| public static HttpExchange. |
| COMPLETED | back to summary |
|---|---|
| public static final HttpExchange. | |
| PENDING | back to summary |
|---|---|
| public static final HttpExchange. | |
| TERMINATED | back to summary |
|---|---|
| public static final HttpExchange. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static HttpExchange. | |
| values | back to summary |
|---|---|
| public static HttpExchange. | |