Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit f21bdbb

Browse files
committed
Updated backlog jdoc
1 parent 375ff32 commit f21bdbb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpServer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static SimpleHttpServer create(final int port) throws IOException {
6868
* Creates a {@link SimpleHttpServer} bounded to a port.
6969
*
7070
* @param port port to bind to
71-
* @param backlog request backlog
71+
* @param backlog maximum amount of inbound connections allowed
7272
* @return a {@link SimpleHttpServer}
7373
* @throws java.net.BindException if server can not bind to port
7474
* @throws NullPointerException if address is <code>null</code>
@@ -119,7 +119,7 @@ public static SimpleHttpServer create(final int port, final int backlog) throws
119119
* Binds the server to a port.
120120
*
121121
* @param port port to bind the server to
122-
* @param backlog request backlog
122+
* @param backlog maximum amount of inbound connections allowed
123123
* @return address the server is binded to
124124
* @throws java.net.BindException if server could not be bound to port, or if it's already bound
125125
* @throws IllegalArgumentException if port is out of range
@@ -156,7 +156,7 @@ public static SimpleHttpServer create(final int port, final int backlog) throws
156156
* Binds the server to a port.
157157
*
158158
* @param addr address to bind the server to
159-
* @param backlog request backlog
159+
* @param backlog maximum amount of inbound connections allowed
160160
* @throws java.net.BindException if server could not be bound to port, or if it's already bound
161161
* @throws NullPointerException if address is <code>null</code>
162162
* @throws IOException uncaught exception

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class SimpleHttpServerImpl extends SimpleHttpServer {
3131
* Creates a {@link SimpleHttpServer}.
3232
*
3333
* @param port port to run the server on
34-
* @param backlog how many requests to backlog
34+
* @param backlog maximum amount of inbound connections allowed
3535
* @return a {@link SimpleHttpServer}
3636
* @throws java.net.BindException if server can not bind to port
3737
* @throws IOException uncaught exception

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpsServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static SimpleHttpsServer create(final int port) throws IOException {
6565
* Creates a {@link SimpleHttpsServer} bounded to a port. The server must have a {@link HttpsConfigurator} set using {@link #setHttpsConfigurator(HttpsConfigurator)}.
6666
*
6767
* @param port port to bind to
68-
* @param backlog request backlog
68+
* @param backlog maximum amount of inbound connections allowed
6969
* @return a {@link SimpleHttpsServer}
7070
* @throws java.net.BindException if server can not bind to port
7171
* @throws NullPointerException if address is <code>null</code>

0 commit comments

Comments
 (0)