| Modifier and Type | Field and Description |
|---|---|
| private final Attributes | |
| private final Connector | |
| private final HttpChannel. | |
| private final Queue | |
| private final HttpConfiguration | |
| private final String | |
| private final ServerSessionListener | |
| private final SocketAddress | |
| private static final Logger | |
| private boolean | |
| private final SocketAddress | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | HTTP2ServerConnection(Connector connector, EndPoint endPoint, HttpConfiguration httpConfig, HTTP2ServerSession session, int inputBufferSize, ServerSessionListener listener)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | clearAttributes()
Overrides default org. Clear all attribute names |
| public Object | getAttribute(String
the attribute to get name)Implements org. Get an attribute |
| public Set | getAttributeNameSet()
Implements org. Get the immutable set of attribute names. |
| public Connection | |
| public Connector | |
| public HttpConfiguration | |
| public HttpVersion | |
| public String | |
| public SocketAddress | |
| public String | |
| public SocketAddress | |
| public HTTP2ServerSession | |
| public boolean | |
| public boolean | |
| public boolean | |
| private void | |
| pack-priv void | |
| protected void | offerTask(Runnable task, boolean dispatch)
Overrides org.
|
| public void | |
| public void | |
| public void | onOpen()
Overrides org. Implements org. Callback method invoked when this connection is opened. |
| public void | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| private HttpChannel | |
| public void | |
| public Object | removeAttribute(String
the attribute to remove name)Implements org. Remove an attribute |
| public Object | setAttribute(String
the attribute to set name, Object the value to set. A null value is equivalent to removing the attribute. attribute)Implements org. Set an attribute |
| public void | |
| public boolean |
| attributes | back to summary |
|---|---|
| private final Attributes attributes | |
| connector | back to summary |
|---|---|
| private final Connector connector | |
| httpChannelFactory | back to summary |
|---|---|
| private final HttpChannel. | |
| httpChannels | back to summary |
|---|---|
| private final Queue<HttpChannel> httpChannels | |
| httpConfig | back to summary |
|---|---|
| private final HttpConfiguration httpConfig | |
| id | back to summary |
|---|---|
| private final String id | |
| listener | back to summary |
|---|---|
| private final ServerSessionListener listener | |
| localSocketAddress | back to summary |
|---|---|
| private final SocketAddress localSocketAddress | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| recycleHttpChannels | back to summary |
|---|---|
| private boolean recycleHttpChannels | |
| remoteSocketAddress | back to summary |
|---|---|
| private final SocketAddress remoteSocketAddress | |
| upgradeFrames | back to summary |
|---|---|
| private final List<Frame> upgradeFrames | |
| HTTP2ServerConnection | back to summary |
|---|---|
| public HTTP2ServerConnection(Connector connector, EndPoint endPoint, HttpConfiguration httpConfig, HTTP2ServerSession session, int inputBufferSize, ServerSessionListener listener) | |
| clearAttributes | back to summary |
|---|---|
| public void clearAttributes() Overrides default org. Doc from org. Clear all attribute names
| |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) Implements org. Doc from org. Get an attribute | |
| getAttributeNameSet | back to summary |
|---|---|
| public Set Implements org. Doc from org. Get the immutable set of attribute names. | |
| getConnection | back to summary |
|---|---|
| public Connection getConnection() Implements org.
| |
| getConnector | back to summary |
|---|---|
| public Connector getConnector() Implements org.
| |
| getHttpConfiguration | back to summary |
|---|---|
| public HttpConfiguration getHttpConfiguration() Implements org.
| |
| getHttpVersion | back to summary |
|---|---|
| public HttpVersion getHttpVersion() Implements org.
| |
| getId | back to summary |
|---|---|
| public String getId() Implements org.
| |
| getLocalSocketAddress | back to summary |
|---|---|
| public SocketAddress getLocalSocketAddress() Implements org.
| |
| getProtocol | back to summary |
|---|---|
| public String getProtocol() Implements org.
| |
| getRemoteSocketAddress | back to summary |
|---|---|
| public SocketAddress getRemoteSocketAddress() Implements org.
| |
| getSession | back to summary |
|---|---|
| public HTTP2ServerSession getSession() Overrides org.
| |
| isPersistent | back to summary |
|---|---|
| public boolean isPersistent() Implements org.
| |
| isPushSupported | back to summary |
|---|---|
| public boolean isPushSupported() Overrides default org.
| |
| isRecycleHttpChannels | back to summary |
|---|---|
| public boolean isRecycleHttpChannels() | |
| notifyAccept | back to summary |
|---|---|
| private void notifyAccept(HTTP2Session session) | |
| offerHttpChannel | back to summary |
|---|---|
| pack-priv void offerHttpChannel(HttpChannel channel) | |
| offerTask | back to summary |
|---|---|
| protected void offerTask(Runnable task, boolean dispatch) Overrides org.
| |
| onDataAvailable | back to summary |
|---|---|
| public void onDataAvailable(Stream stream) | |
| onNewStream | back to summary |
|---|---|
| public void onNewStream(HTTP2Stream stream, HeadersFrame frame) | |
| 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.
| |
| onPreface | back to summary |
|---|---|
| public void onPreface() Overrides default org.
| |
| onSessionFailure | back to summary |
|---|---|
| public void onSessionFailure(Throwable failure, Callback callback) | |
| onSessionTimeout | back to summary |
|---|---|
| public boolean onSessionTimeout(Throwable failure) | |
| onStreamFailure | back to summary |
|---|---|
| public void onStreamFailure(Stream stream, Throwable failure, Callback callback) | |
| onStreamTimeout | back to summary |
|---|---|
| public void onStreamTimeout(Stream stream, TimeoutException timeout, Promise<Boolean> promise) | |
| onTrailers | back to summary |
|---|---|
| public void onTrailers(Stream stream, HeadersFrame frame) | |
| pollHttpChannel | back to summary |
|---|---|
| private HttpChannel pollHttpChannel() | |
| push | back to summary |
|---|---|
| public void push(HTTP2Stream stream, MetaData. | |
| removeAttribute | back to summary |
|---|---|
| public Object removeAttribute(String name) Implements org. Doc from org. Remove an attribute | |
| setAttribute | back to summary |
|---|---|
| public Object setAttribute(String name, Object attribute) Implements org. Doc from org. Set an attribute | |
| setRecycleHttpChannels | back to summary |
|---|---|
| public void setRecycleHttpChannels(boolean recycleHttpChannels) | |
| upgrade | back to summary |
|---|---|
| public boolean upgrade(MetaData. | |