MCPcopy Create free account
hub / github.com/curtcox/JLHTTP / setPort

Method setPort

src/main/java/net/freeutils/httpserver/HTTPServer.java:1935–1937  ·  view source on GitHub ↗

Sets the port on which this server will accept connections. @param port the port on which this server will accept connections

(int port)

Source from the content-addressed store, hash-verified

1933 * @param port the port on which this server will accept connections
1934 */
1935 public void setPort(int port) {
1936 this.port = port;
1937 }
1938
1939 /**
1940 * Sets the factory used to create the server socket.

Callers 1

HTTPServerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected