Located in compilation unit of javax.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ServerSocket | createServerSocket()
Overrides javax. Returns an unbound server socket. |
| public ServerSocket | createServerSocket(int port)
Implements abstract javax. Returns a server socket bound to the specified port. |
| public ServerSocket | createServerSocket(int port, int backlog)
Implements abstract javax. Returns a server socket bound to the specified port, and uses the specified connection backlog. |
| public ServerSocket | createServerSocket(int port, int backlog, InetAddress ifAddress)
Implements abstract javax. Returns a server socket bound to the specified port, with a specified listen backlog and local IP. |
| DefaultServerSocketFactory | back to summary |
|---|---|
| pack-priv DefaultServerSocketFactory() | |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket() throws IOException Overrides javax. Doc from javax. Returns an unbound server socket. The socket is configured with the socket options (such as accept timeout) given to this factory.
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port. The socket is configured with the socket options (such as accept timeout) given to this factory.
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, int backlog) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.
The
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port, with a specified listen backlog and local IP.
The
The
| |