Skip to content

Commit ca38a4b

Browse files
authored
Add "since 1.5.0" tag to new methods
1 parent 3ebbe21 commit ca38a4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/java_websocket/server/WebSocketServer.java

+3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public abstract class WebSocketServer extends AbstractWebSocket implements Runna
109109
/**
110110
* Attribute which allows you to configure the socket "backlog" parameter
111111
* which determines how many client connections can be queued.
112+
* @since 1.5.0
112113
*/
113114
private int maxPendingConnections = -1;
114115

@@ -316,6 +317,7 @@ public List<Draft> getDraft() {
316317
* Set the requested maximum number of pending connections on the socket. The exact semantics are implementation
317318
* specific. The value provided should be greater than 0. If it is less than or equal to 0, then
318319
* an implementation specific default will be used. This option will be passed as "backlog" parameter to {@link ServerSocket#bind(SocketAddress, int)}
320+
* @since 1.5.0
319321
*/
320322
public void setMaxPendingConnections(int numberOfConnections) {
321323
maxPendingConnections = numberOfConnections;
@@ -325,6 +327,7 @@ public void setMaxPendingConnections(int numberOfConnections) {
325327
* Returns the currently configured maximum number of pending connections.
326328
*
327329
* @see #setMaxPendingConnections(int)
330+
* @since 1.5.0
328331
*/
329332
public int getMaxPendingConnections() {
330333
return maxPendingConnections;

0 commit comments

Comments
 (0)