|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.coyote.tomcat4.CoyoteServerSocketFactory
This socket factory holds secure socket factory parameters. Besides the usual
configuration mechanism based on setting JavaBeans properties, this
component may also be configured by passing a series of attributes set
with calls to setAttribute()
. The following attribute
names are recognized, with default values in square brackets:
true
. [false]
Constructor Summary | |
CoyoteServerSocketFactory()
|
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. |
java.lang.String |
getAlgorithm()
|
boolean |
getClientAuth()
|
java.lang.String |
getKeystoreFile()
|
java.lang.String |
getKeystorePass()
|
java.lang.String |
getKeystoreType()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getRandomFile()
|
java.lang.String |
getRootFile()
|
java.lang.String |
getSSLImplementation()
|
void |
setAlgorithm(java.lang.String algorithm)
|
void |
setClientAuth(boolean clientAuth)
|
void |
setKeystoreFile(java.lang.String keystoreFile)
|
void |
setKeystorePass(java.lang.String keystorePass)
|
void |
setKeystoreType(java.lang.String keystoreType)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setRandomFile(java.lang.String randomFile)
|
void |
setRootFile(java.lang.String rootFile)
|
void |
setSSLImplementation(java.lang.String sslImplementation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CoyoteServerSocketFactory()
Method Detail |
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
public boolean getClientAuth()
public void setClientAuth(boolean clientAuth)
public java.lang.String getKeystoreFile()
public void setKeystoreFile(java.lang.String keystoreFile)
public java.lang.String getRandomFile()
public void setRandomFile(java.lang.String randomFile)
public java.lang.String getRootFile()
public void setRootFile(java.lang.String rootFile)
public java.lang.String getKeystorePass()
public void setKeystorePass(java.lang.String keystorePass)
public java.lang.String getKeystoreType()
public void setKeystoreType(java.lang.String keystoreType)
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
public java.lang.String getSSLImplementation()
public void setSSLImplementation(java.lang.String sslImplementation)
public java.net.ServerSocket createSocket(int port)
ServerSocketFactory
createSocket
in interface ServerSocketFactory
port
- the port to listen topublic java.net.ServerSocket createSocket(int port, int backlog)
ServerSocketFactory
createSocket
in interface ServerSocketFactory
port
- the port to listen tobacklog
- how many connections are queuedpublic java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress)
ServerSocketFactory
createSocket
in interface ServerSocketFactory
port
- the port to listen tobacklog
- how many connections are queuedifAddress
- the network interface address to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |