diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java index f807128d866..412e6808722 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java @@ -59,7 +59,7 @@ public interface ISession extends Session /** *
Enqueues the given frames to be written to the connection.
* @param stream the stream the frames belong to - * @param frames additional frames to enqueue + * @param frames the frames to enqueue * @param callback the callback that gets notified when the frames have been sent */ void frames(IStream stream, List extends Frame> frames, Callback callback); diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java index 4b94b568cd7..999de079915 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java @@ -61,7 +61,7 @@ public interface IStream extends Stream, Attachable, Closeable /** *Sends the given list of frames.
- *Typically used to send an HTTP response along with content and possibly trailers.
+ *Typically used to send HTTP headers along with content and possibly trailers.
* * @param frameList the list of frames to send * @param callback the callback that gets notified when the frames have been sent diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java index 3b3db21ee23..383356b34bd 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java @@ -52,8 +52,7 @@ public interface Stream /** *Sends the given HEADERS {@code frame}.
- *Typically used to send an HTTP response with no content and no trailers, - * or to send the HTTP response trailers.
+ *Typically used to send an HTTP response or to send the HTTP response trailers.
* * @param frame the HEADERS frame to send * @param callback the callback that gets notified when the frame has been sent