407470 - Javadoc for @OnWebSocketFrame incorrectly references WebSocketFrame object

+ Simple javadoc change, code already uses Frame, not WebSocketFrame.
This commit is contained in:
Joakim Erdfelt 2013-05-08 11:25:30 -07:00
parent 08161b5bf7
commit f92aab9b88
1 changed files with 3 additions and 4 deletions

View File

@ -25,17 +25,16 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.eclipse.jetty.websocket.api.Session;
import org.eclipse.jetty.websocket.api.extensions.Frame;
/**
* (ADVANCED) Annotation for tagging methods to receive frame events.
* <p>
* Note: any frame derived from {@link WebSocketFrame} is acceptable to use as the last parameter here.
* <p>
* Acceptable method patterns.<br>
* Note: <code>methodName</code> can be any name you want to use.
* <ol>
* <li><code>public void methodName({@link WebSocketFrame} frame)</code></li>
* <li><code>public void methodName({@link Session} session, {@link WebSocketFrame} frame)</code></li>
* <li><code>public void methodName({@link Frame} frame)</code></li>
* <li><code>public void methodName({@link Session} session, {@link Frame} frame)</code></li>
* </ol>
*/
@Documented