1.1 --- a/json/src/main/java/net/java/html/json/OnReceive.java Thu Sep 12 16:10:02 2013 +0200
1.2 +++ b/json/src/main/java/net/java/html/json/OnReceive.java Thu Sep 12 16:13:26 2013 +0200
1.3 @@ -73,7 +73,7 @@
1.4 * Read the <a href="doc-files/websockets.html">tutorial</a> to see how.
1.5 *
1.6 * @author Jaroslav Tulach <jtulach@netbeans.org>
1.7 - * @since 0.5
1.8 + * @since 0.3
1.9 */
1.10 @Retention(RetentionPolicy.SOURCE)
1.11 @Target(ElementType.METHOD)
1.12 @@ -115,6 +115,9 @@
1.13 * <p>
1.14 * When {@link #jsonp() JSONP} transport is requested, the method
1.15 * has to be <code>"GET"</code>.
1.16 + * <p>
1.17 + * Since version 0.5 one can specify "<a href="doc-files/websockets.html">WebSocket</a>"
1.18 + * as the communication method.
1.19 *
1.20 * @return name of the HTTP transfer method
1.21 * @since 0.3