| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ServerSessionListener |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RawHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, ServerSessionListener listener)
|
| public | RawHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, ServerSessionListener listener, String... protocols)
|
| Modifier and Type | Method and Description |
|---|---|
| protected ServerSessionListener | newSessionListener(Connector connector, EndPoint endPoint)
Implements abstract org.
|
| listener | back to summary |
|---|---|
| private final ServerSessionListener listener | |
| RawHTTP2ServerConnectionFactory | back to summary |
|---|---|
| public RawHTTP2ServerConnectionFactory(ServerSessionListener listener) | |
| RawHTTP2ServerConnectionFactory | back to summary |
|---|---|
| public RawHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, ServerSessionListener listener) | |
| RawHTTP2ServerConnectionFactory | back to summary |
|---|---|
| public RawHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, ServerSessionListener listener, String... protocols) | |
| newSessionListener | back to summary |
|---|---|
| protected ServerSessionListener newSessionListener(Connector connector, EndPoint endPoint) Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ServerSessionListener |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | onAccept(Session
the session session)Overrides default org. Callback method invoked when a connection has been accepted by the server. |
| public void | onClose(Session
the session session, GoAwayFrame the GOAWAY frame that caused the session to be closed frame, Callback the callback to notify of the GOAWAY processing callback)Overrides default org. Callback method invoked when a GOAWAY frame caused the session to be closed. |
| public void | onFailure(Session
the session session, Throwable the failure failure, Callback the callback to notify of failure processing callback)Overrides default org. Callback method invoked when a failure has been detected for this session. |
| public void | onGoAway(Session
the session session, GoAwayFrame the GOAWAY frame received frame)Overrides default org. Callback method invoked when a GOAWAY frame has been received. |
| public boolean | onIdleTimeout(Session
the session session)Overrides default org. Callback method invoked when the idle timeout expired. |
| public Stream. | onNewStream(Stream
the newly created stream stream, HeadersFrame the HEADERS frame received frame)Overrides default org. Callback method invoked when a new stream is being created upon receiving a HEADERS frame representing an HTTP request. |
| public void | onPing(Session
the session session, PingFrame the PING frame received frame)Overrides default org. Callback method invoked when a PING frame has been received. |
| public Map | onPreface(Session
the session session)Overrides default org. Callback method invoked:
|
| public void | onReset(Session
the session session, ResetFrame the RST_STREAM frame received frame)Overrides default org. Callback method invoked when a RST_STREAM frame has been received for an unknown stream. |
| public void | onSettings(Session
the session session, SettingsFrame the SETTINGS frame received frame)Overrides default org. Callback method invoked when a SETTINGS frame has been received. |
| delegate | back to summary |
|---|---|
| private final ServerSessionListener delegate | |
| RawServerSessionListener | back to summary |
|---|---|
| private RawServerSessionListener(ServerSessionListener delegate) | |
| onAccept | back to summary |
|---|---|
| public void onAccept(Session session) Overrides default org. Doc from org. Callback method invoked when a connection has been accepted by the server. | |
| onClose | back to summary |
|---|---|
| public void onClose(Session session, GoAwayFrame frame, Callback callback) Overrides default org. Doc from org. Callback method invoked when a GOAWAY frame caused the session to be closed.
| |
| onFailure | back to summary |
|---|---|
| public void onFailure(Session session, Throwable failure, Callback callback) Overrides default org. Doc from org. Callback method invoked when a failure has been detected for this session. | |
| onGoAway | back to summary |
|---|---|
| public void onGoAway(Session session, GoAwayFrame frame) Overrides default org. Doc from org. Callback method invoked when a GOAWAY frame has been received.
| |
| onIdleTimeout | back to summary |
|---|---|
| public boolean onIdleTimeout(Session session) Overrides default org. Doc from org. Callback method invoked when the idle timeout expired. | |
| onNewStream | back to summary |
|---|---|
| public Stream. Overrides default org. Doc from org. Callback method invoked when a new stream is being created upon receiving a HEADERS frame representing an HTTP request. Applications should implement this method to process HTTP requests,
typically providing an HTTP response via
Applications can detect whether request DATA frames will be arriving
by testing
| |
| onPing | back to summary |
|---|---|
| public void onPing(Session session, PingFrame frame) Overrides default org. Doc from org. Callback method invoked when a PING frame has been received. | |
| onPreface | back to summary |
|---|---|
| public Map Overrides default org. Doc from org. Callback method invoked:
| |
| onReset | back to summary |
|---|---|
| public void onReset(Session session, ResetFrame frame) Overrides default org. Doc from org. Callback method invoked when a RST_STREAM frame has been received for an unknown stream.
| |
| onSettings | back to summary |
|---|---|
| public void onSettings(Session session, SettingsFrame frame) Overrides default org. Doc from org. Callback method invoked when a SETTINGS frame has been received.
| |