You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gets the XML string that should be returned if a client requests a Flash
105
-
* security policy.
106
-
* <p>
107
-
* The default implementation allows access from all remote domains, but
108
-
* only on the port that this WebSocketServer is listening on.
109
-
* <p>
110
-
* This is specifically implemented for gitime's WebSocket client for Flash:
111
-
* http://github.com/gimite/web-socket-js
112
-
*
113
-
* @return An XML String that comforts to Flash's security policy. You MUST
114
-
* not include the null char at the end, it is appended automatically.
115
-
* @throws InvalidDataException thrown when some data that is required to generate the flash-policy like the websocket local port could not be obtained e.g because the websocket is not connected.
Copy file name to clipboardExpand all lines: src/main/java/org/java_websocket/WebSocketListener.java
-9Lines changed: 0 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -188,15 +188,6 @@ public interface WebSocketListener {
188
188
**/
189
189
voidonWebsocketPong( WebSocketconn, Framedataf );
190
190
191
-
/**
192
-
* @see WebSocketAdapter#getFlashPolicy(WebSocket)
193
-
* @param conn The <tt>WebSocket</tt> instance this event is occuring on.
194
-
* @throws InvalidDataException thrown when some data that is required to generate the flash-policy like the websocket local port could not be obtained.
195
-
* @return An XML String that comforts to Flash's security policy. You MUST not include the null char at the end, it is appended automatically.
Copy file name to clipboardExpand all lines: src/main/java/org/java_websocket/WrappedByteChannel.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -35,13 +35,13 @@ public interface WrappedByteChannel extends ByteChannel {
35
35
36
36
* @return is a additional write needed
37
37
*/
38
-
publicbooleanisNeedWrite();
38
+
booleanisNeedWrite();
39
39
40
40
/**
41
41
* Gets called when {@link #isNeedWrite()} ()} requires a additional rite
42
42
* @throws IOException may be thrown due to an error while writing
43
43
*/
44
-
publicvoidwriteMore() throwsIOException;
44
+
voidwriteMore() throwsIOException;
45
45
46
46
/**
47
47
* returns whether readMore should be called to fetch data which has been decoded but not yet been returned.
@@ -50,19 +50,19 @@ public interface WrappedByteChannel extends ByteChannel {
50
50
* @see #readMore(ByteBuffer)
51
51
* @return is a additional read needed
52
52
**/
53
-
publicbooleanisNeedRead();
53
+
booleanisNeedRead();
54
54
/**
55
55
* This function does not read data from the underlying channel at all. It is just a way to fetch data which has already be received or decoded but was but was not yet returned to the user.
56
56
* This could be the case when the decoded data did not fit into the buffer the user passed to {@link #read(ByteBuffer)}.
57
57
* @param dst the destiny of the read
58
58
* @return the amount of remaining data
59
59
* @throws IOException when a error occurred during unwrapping
0 commit comments