From ee6d495af4759266bc00a90820f217da9e02a705 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 25 Apr 2017 12:41:16 -0700 Subject: [PATCH] Issue #207 - fixing javadoc --- .../websocket/tests/UntrustedWSConnection.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSConnection.java b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSConnection.java index dcf8c34b830..3a2188416f4 100644 --- a/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSConnection.java +++ b/jetty-websocket/websocket-tests/src/main/java/org/eclipse/jetty/websocket/tests/UntrustedWSConnection.java @@ -56,8 +56,8 @@ public class UntrustedWSConnection } /** - * Forward a frame to the {@Link OutgoingFrames} handler - * @param frame + * Forward a frame to the {@link org.eclipse.jetty.websocket.api.extensions.OutgoingFrames} handler + * @param frame the frame to send out */ public void write(Frame frame) throws Exception { @@ -70,7 +70,7 @@ public class UntrustedWSConnection * Write arbitrary bytes out the active connection. * * @param buf the buffer to write - * @throws IOException + * @throws IOException if unable to write */ public void writeRaw(ByteBuffer buf) throws IOException { @@ -91,7 +91,7 @@ public class UntrustedWSConnection * * @param buf the buffer to write * @param numBytes the number of bytes from the buffer to write - * @throws IOException + * @throws IOException if unable to write */ public void writeRaw(ByteBuffer buf, int numBytes) throws IOException { @@ -116,7 +116,7 @@ public class UntrustedWSConnection * Write arbitrary String out the active connection. * * @param str the string, converted to UTF8 bytes, then written - * @throws IOException + * @throws IOException if unable to write */ public void writeRaw(String str) throws IOException { @@ -129,7 +129,7 @@ public class UntrustedWSConnection * * @param buf the buffer to write * @param segmentSize the segment size to write, with a {@link #flush()} after each segment - * @throws IOException + * @throws IOException if unable to write */ public void writeRawSlowly(ByteBuffer buf, int segmentSize) throws IOException { @@ -140,7 +140,7 @@ public class UntrustedWSConnection } } - public boolean isConnected() + public boolean isOpen() { return internalConnection.getEndPoint().isOpen(); }