Package org.eclipse.jetty.http2.server
Class HTTP2ServerConnectionFactory.HTTPServerSessionListener
java.lang.Object
org.eclipse.jetty.http2.api.Session.Listener.Adapter
org.eclipse.jetty.http2.api.server.ServerSessionListener.Adapter
org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory.HTTPServerSessionListener
- All Implemented Interfaces:
ServerSessionListener,Session.Listener,Stream.Listener
- Enclosing class:
- HTTP2ServerConnectionFactory
protected class HTTP2ServerConnectionFactory.HTTPServerSessionListener
extends ServerSessionListener.Adapter
implements Stream.Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.server.ServerSessionListener
ServerSessionListener.AdapterNested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.Session.Listener
Session.Listener.AdapterNested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.Stream.Listener
Stream.Listener.Adapter -
Constructor Summary
ConstructorsConstructorDescriptionHTTPServerSessionListener(Connector connector, org.eclipse.jetty.io.EndPoint endPoint) -
Method Summary
Modifier and TypeMethodDescriptionprotected HTTP2ServerConnectionvoidonClose(Session session, GoAwayFrame frame, org.eclipse.jetty.util.Callback callback) voidvoidvoidonFailure(Stream stream, int error, String reason, Throwable failure, org.eclipse.jetty.util.Callback callback) voidonHeaders(Stream stream, HeadersFrame frame) booleanonIdleTimeout(Session session) booleanonIdleTimeout(Stream stream, Throwable x) onNewStream(Stream stream, HeadersFrame frame) onPush(Stream stream, PushPromiseFrame frame) voidonReset(Stream stream, ResetFrame frame, org.eclipse.jetty.util.Callback callback) Methods inherited from class org.eclipse.jetty.http2.api.server.ServerSessionListener.Adapter
onAcceptMethods inherited from class org.eclipse.jetty.http2.api.Session.Listener.Adapter
onClose, onFailure, onPing, onReset, onSettingsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.http2.api.Session.Listener
onClose, onFailure, onGoAway, onPing, onReset, onSettingsMethods inherited from interface org.eclipse.jetty.http2.api.Stream.Listener
onClosed, onFailure, onNewStream, onReset, onTimeout
-
Constructor Details
-
HTTPServerSessionListener
-
-
Method Details
-
getConnection
-
onPreface
- Specified by:
onPrefacein interfaceSession.Listener- Overrides:
onPrefacein classSession.Listener.Adapter
-
onNewStream
- Specified by:
onNewStreamin interfaceSession.Listener- Overrides:
onNewStreamin classSession.Listener.Adapter
-
onIdleTimeout
- Specified by:
onIdleTimeoutin interfaceSession.Listener- Overrides:
onIdleTimeoutin classSession.Listener.Adapter
-
onClose
- Specified by:
onClosein interfaceSession.Listener
-
onFailure
- Specified by:
onFailurein interfaceSession.Listener
-
onHeaders
- Specified by:
onHeadersin interfaceStream.Listener
-
onPush
- Specified by:
onPushin interfaceStream.Listener
-
onData
- Specified by:
onDatain interfaceStream.Listener
-
onReset
- Specified by:
onResetin interfaceStream.Listener
-
onFailure
public void onFailure(Stream stream, int error, String reason, Throwable failure, org.eclipse.jetty.util.Callback callback) - Specified by:
onFailurein interfaceStream.Listener
-
onIdleTimeout
- Specified by:
onIdleTimeoutin interfaceStream.Listener
-