Small javadocs fixes.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2020-09-10 13:35:06 +02:00
parent f81bf7f945
commit 892a715bea
3 changed files with 3 additions and 4 deletions

View File

@ -59,7 +59,7 @@ public interface ISession extends Session
/**
* <p>Enqueues the given frames to be written to the connection.</p>
* @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);

View File

@ -61,7 +61,7 @@ public interface IStream extends Stream, Attachable, Closeable
/**
* <p>Sends the given list of frames.</p>
* <p>Typically used to send an HTTP response along with content and possibly trailers.</p>
* <p>Typically used to send HTTP headers along with content and possibly trailers.</p>
*
* @param frameList the list of frames to send
* @param callback the callback that gets notified when the frames have been sent

View File

@ -52,8 +52,7 @@ public interface Stream
/**
* <p>Sends the given HEADERS {@code frame}.</p>
* <p>Typically used to send an HTTP response with no content and no trailers,
* or to send the HTTP response trailers.</p>
* <p>Typically used to send an HTTP response or to send the HTTP response trailers.</p>
*
* @param frame the HEADERS frame to send
* @param callback the callback that gets notified when the frame has been sent