| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final LongAdder | |
| private final LongAdder | |
| private final HttpChannelOverHTTP | |
| private final AtomicBoolean | |
| private final HttpConnectionOverHTTP. | |
| private long | |
| private static final Logger | |
| private final Promise | |
| private final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| public void | close()
Overrides org. Implements org. Closes this stream and releases any system resources associated with it. |
| protected void | |
| private static HttpDestination | |
| public Object | |
| public long | getBytesIn()
Overrides org. Implements org.
|
| public long | |
| public HttpChannelOverHTTP | |
| public HttpDestination | |
| public SocketAddress | |
| public long | |
| public long | |
| public SocketAddress | getRemoteSocketAddress()
Overrides default org.
|
| public boolean | |
| protected HttpChannelOverHTTP | |
| public void | onFillable()
Implements abstract org. Callback method invoked when the endpoint is ready to be read. |
| public boolean | onIdleExpired(TimeoutException timeout)
Overrides org. Implements org. Callback method invoked upon an idle timeout event. |
| protected boolean | |
| public void | onOpen()
Overrides org. Implements org. Callback method invoked when this connection is opened. |
| pack-priv void | |
| public ByteBuffer | onUpgradeFrom()
Implements org. Invoked during an |
| private static Promise | |
| public void | |
| public void | |
| public void | send(Request
the request to send request, Response.the response listener listenerImplements org. Sends a request with an associated response listener. |
| public SendFailure | |
| public void | setAttachment(Object
the object to attach to this instance obj)Implements org. Attaches the given object to this stream for later retrieval. |
| public boolean | |
| public String |
| bytesIn | back to summary |
|---|---|
| private final LongAdder bytesIn | |
| bytesOut | back to summary |
|---|---|
| private final LongAdder bytesOut | |
| channel | back to summary |
|---|---|
| private final HttpChannelOverHTTP channel | |
| closed | back to summary |
|---|---|
| private final AtomicBoolean closed | |
| delegate | back to summary |
|---|---|
| private final HttpConnectionOverHTTP. | |
| idleTimeout | back to summary |
|---|---|
| private long idleTimeout | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| promise | back to summary |
|---|---|
| private final Promise<Connection> promise | |
| sweeps | back to summary |
|---|---|
| private final AtomicInteger sweeps | |
| HttpConnectionOverHTTP | back to summary |
|---|---|
| public HttpConnectionOverHTTP(EndPoint endPoint, Map<String, Object> context) | |
| HttpConnectionOverHTTP | back to summary |
|---|---|
| public HttpConnectionOverHTTP(EndPoint endPoint, HttpDestination destination, Promise<Connection> promise) | |
| abort | back to summary |
|---|---|
| protected void abort(Throwable failure, Promise<Boolean> promise) | |
| addBytesIn | back to summary |
|---|---|
| protected void addBytesIn(long bytesIn) | |
| addBytesOut | back to summary |
|---|---|
| protected void addBytesOut(long bytesOut) | |
| close | back to summary |
|---|---|
| public void close() Overrides org. Implements org. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| close | back to summary |
|---|---|
| protected void close(Throwable failure) | |
| destinationFrom | back to summary |
|---|---|
| private static HttpDestination destinationFrom(Map<String, Object> context) | |
| getAttachment | back to summary |
|---|---|
| public Object getAttachment() Implements org.
| |
| getBytesIn | back to summary |
|---|---|
| public long getBytesIn() Overrides org. Implements org.
| |
| getBytesOut | back to summary |
|---|---|
| public long getBytesOut() Overrides org. Implements org.
| |
| getHttpChannel | back to summary |
|---|---|
| public HttpChannelOverHTTP getHttpChannel() | |
| getHttpDestination | back to summary |
|---|---|
| public HttpDestination getHttpDestination() | |
| getLocalSocketAddress | back to summary |
|---|---|
| public SocketAddress getLocalSocketAddress() Overrides default org.
| |
| getMessagesIn | back to summary |
|---|---|
| public long getMessagesIn() Overrides org. Implements org.
| |
| getMessagesOut | back to summary |
|---|---|
| public long getMessagesOut() Overrides org. Implements org.
| |
| getRemoteSocketAddress | back to summary |
|---|---|
| public SocketAddress getRemoteSocketAddress() Overrides default org.
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements org.
| |
| newHttpChannel | back to summary |
|---|---|
| protected HttpChannelOverHTTP newHttpChannel() | |
| onFillable | back to summary |
|---|---|
| public void onFillable() Implements abstract org. Doc from org. Callback method invoked when the endpoint is ready to be read.
| |
| onIdleExpired | back to summary |
|---|---|
| public boolean onIdleExpired(TimeoutException timeout) Overrides org. Implements org. Doc from org. Callback method invoked upon an idle timeout event. Implementations of this method may return true to indicate that the idle timeout handling should proceed normally, typically failing the EndPoint and causing it to be closed. When false is returned, the handling of the idle timeout event is halted immediately and the EndPoint left in the state it was before the idle timeout event.
| |
| onIdleTimeout | back to summary |
|---|---|
| protected boolean onIdleTimeout(long idleTimeout) | |
| onOpen | back to summary |
|---|---|
| public void onOpen() Overrides org. Implements org. Doc from org. Callback method invoked when this connection is opened. Creators of the connection implementation are responsible for calling this method.
| |
| onResponseHeaders | back to summary |
|---|---|
| pack-priv void onResponseHeaders(HttpExchange exchange) | |
| onUpgradeFrom | back to summary |
|---|---|
| public ByteBuffer onUpgradeFrom() Implements org. Doc from org. Invoked during an
| |
| promiseFrom | back to summary |
|---|---|
private static Promise
| |
| release | back to summary |
|---|---|
| public void release() | |
| remove | back to summary |
|---|---|
| public void remove() | |
| send | back to summary |
|---|---|
| public void send(Request request, Response. Implements org. Doc from org. Sends a request with an associated response listener.
| |
| send | back to summary |
|---|---|
| public SendFailure send(HttpExchange exchange) Implements org.
| |
| setAttachment | back to summary |
|---|---|
| public void setAttachment(Object obj) Implements org. Doc from org. Attaches the given object to this stream for later retrieval. | |
| sweep | back to summary |
|---|---|
| public boolean sweep() Implements org.
| |
| toConnectionString | back to summary |
|---|---|
| public String toConnectionString() Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Closes this stream and releases any system resources associated with it. |
| protected Iterator | getHttpChannels()
Implements abstract org.
|
| public SocketAddress | |
| public SocketAddress | getRemoteSocketAddress()
Overrides default org.
|
| public boolean | |
| protected void | |
| public SendFailure | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| Delegate | back to summary |
|---|---|
| private Delegate(HttpDestination destination) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| getHttpChannels | back to summary |
|---|---|
| protected Iterator Implements abstract org.
| |
| getLocalSocketAddress | back to summary |
|---|---|
| public SocketAddress getLocalSocketAddress() Overrides default org.
| |
| getRemoteSocketAddress | back to summary |
|---|---|
| public SocketAddress getRemoteSocketAddress() Overrides default org.
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements org.
| |
| normalizeRequest | back to summary |
|---|---|
| protected void normalizeRequest(HttpRequest request) Overrides org.
| |
| send | back to summary |
|---|---|
| public SendFailure send(HttpExchange exchange) Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |