diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java index 883ed322f6b..16bdc08f3b3 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java @@ -134,11 +134,18 @@ public interface Session public interface Listener { /** - *

Callback method invoked when the preface has been received.

+ *

Callback method invoked:

+ * * * @param session the session * @return a (possibly empty or null) map containing SETTINGS configuration - * options that are sent after the preface. + * options to send. */ public Map onPreface(Session session);