public class SslServerSocketFactory extends SslRMIServerSocketFactory implements ServerSocketConfiguratorHolder
| Constructor and Description |
|---|
SslServerSocketFactory()
Creates a ServerSocketFactory with default cipher suites,
protocols and without client authentication.
|
SslServerSocketFactory(String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new ServerSocketFactory.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createUnconfiguredServerSocket(int port) |
boolean |
equals(Object obj) |
ServerSocketConfigurator |
getSocketConfigurator() |
int |
hashCode() |
void |
setSocketConfigurator(ServerSocketConfigurator socketConfigurator) |
getEnabledCipherSuites, getEnabledProtocols, getNeedClientAuthclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreateConfiguredServerSocketpublic SslServerSocketFactory(String[] enabledCipherSuites, String[] enabledProtocols, boolean needClientAuth)
enabledCipherSuites - the enabled cipher suites, null for defaultenabledProtocols - the enabled protocols, null for defaultneedClientAuth - true if server request SSL-client-authenticationpublic SslServerSocketFactory()
public ServerSocket createUnconfiguredServerSocket(int port) throws IOException
createUnconfiguredServerSocket in interface ServerSocketConfiguratorHolderIOExceptionpublic ServerSocket createServerSocket(int port) throws IOException
createServerSocket in interface RMIServerSocketFactorycreateServerSocket in class SslRMIServerSocketFactoryIOExceptionpublic int hashCode()
hashCode in class SslRMIServerSocketFactorypublic boolean equals(Object obj)
equals in class SslRMIServerSocketFactorypublic ServerSocketConfigurator getSocketConfigurator()
getSocketConfigurator in interface ServerSocketConfiguratorHolderpublic void setSocketConfigurator(ServerSocketConfigurator socketConfigurator)
setSocketConfigurator in interface ServerSocketConfiguratorHolderCopyright © 2016 Krake Softwaretechnik. All rights reserved.