|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that describes the common characteristics of factory classes
that create server sockets which may be required by a Connector. A concrete
implementation of this interface will be assigned to a Connector
via the setFactory()
method.
Method Summary | |
java.net.ServerSocket |
createSocket(int port)
Returns a server socket which uses all network interfaces on the host, and is bound to a the specified port. |
java.net.ServerSocket |
createSocket(int port,
int backlog)
Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog. |
java.net.ServerSocket |
createSocket(int port,
int backlog,
java.net.InetAddress ifAddress)
Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog. |
Method Detail |
public java.net.ServerSocket createSocket(int port) throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
port
- the port to listen to
java.io.IOException
- input/output or network error
java.security.KeyStoreException
- error instantiating the
KeyStore from file (SSL only)
java.security.NoSuchAlgorithmException
- KeyStore algorithm unsupported
by current provider (SSL only)
java.security.cert.CertificateException
- general certificate error (SSL only)
java.security.UnrecoverableKeyException
- internal KeyStore problem with
the certificate (SSL only)
java.security.KeyManagementException
- problem in the key management
layer (SSL only)public java.net.ServerSocket createSocket(int port, int backlog) throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
port
- the port to listen tobacklog
- how many connections are queued
java.io.IOException
- input/output or network error
java.security.KeyStoreException
- error instantiating the
KeyStore from file (SSL only)
java.security.NoSuchAlgorithmException
- KeyStore algorithm unsupported
by current provider (SSL only)
java.security.cert.CertificateException
- general certificate error (SSL only)
java.security.UnrecoverableKeyException
- internal KeyStore problem with
the certificate (SSL only)
java.security.KeyManagementException
- problem in the key management
layer (SSL only)public java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.security.UnrecoverableKeyException, java.security.KeyManagementException
port
- the port to listen tobacklog
- how many connections are queuedifAddress
- the network interface address to use
java.io.IOException
- input/output or network error
java.security.KeyStoreException
- error instantiating the
KeyStore from file (SSL only)
java.security.NoSuchAlgorithmException
- KeyStore algorithm unsupported
by current provider (SSL only)
java.security.cert.CertificateException
- general certificate error (SSL only)
java.security.UnrecoverableKeyException
- internal KeyStore problem with
the certificate (SSL only)
java.security.KeyManagementException
- problem in the key management
layer (SSL only)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |