public class SSLServerSocketWrapper extends SSLServerSocket
| Modifier and Type | Field and Description |
|---|---|
protected SSLServerSocket |
s |
protected SSL |
ssl |
protected SSLWrapperFactory |
wf |
| Constructor and Description |
|---|
SSLServerSocketWrapper(SSLServerSocket s,
SSL ssl,
SSLWrapperFactory wf) |
getSSLParameters, setSSLParametersimplAccept, setPerformancePreferences, setSocketFactoryprotected SSLServerSocket s
protected SSLWrapperFactory wf
public SSLServerSocketWrapper(SSLServerSocket s, SSL ssl, SSLWrapperFactory wf) throws IOException
IOExceptionpublic Socket accept() throws IOException
accept in class ServerSocketIOExceptionpublic String[] getEnabledCipherSuites()
getEnabledCipherSuites in class SSLServerSocketpublic String[] getEnabledProtocols()
getEnabledProtocols in class SSLServerSocketpublic boolean getEnableSessionCreation()
getEnableSessionCreation in class SSLServerSocketpublic boolean getNeedClientAuth()
getNeedClientAuth in class SSLServerSocketpublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLServerSocketpublic String[] getSupportedProtocols()
getSupportedProtocols in class SSLServerSocketpublic boolean getUseClientMode()
getUseClientMode in class SSLServerSocketpublic boolean getWantClientAuth()
getWantClientAuth in class SSLServerSocketpublic void setEnabledCipherSuites(String[] suites)
setEnabledCipherSuites in class SSLServerSocketpublic void setEnabledProtocols(String[] protocols)
setEnabledProtocols in class SSLServerSocketpublic void setEnableSessionCreation(boolean flag)
setEnableSessionCreation in class SSLServerSocketpublic void setNeedClientAuth(boolean need)
setNeedClientAuth in class SSLServerSocketpublic void setUseClientMode(boolean use)
setUseClientMode in class SSLServerSocketpublic void setWantClientAuth(boolean want)
setWantClientAuth in class SSLServerSocketpublic void bind(SocketAddress endpoint) throws IOException
bind in class ServerSocketIOExceptionpublic void bind(SocketAddress ep, int bl) throws IOException
bind in class ServerSocketIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ServerSocketIOExceptionpublic ServerSocketChannel getChannel()
getChannel in class ServerSocketpublic InetAddress getInetAddress()
getInetAddress in class ServerSocketpublic int getLocalPort()
getLocalPort in class ServerSocketpublic SocketAddress getLocalSocketAddress()
getLocalSocketAddress in class ServerSocketpublic int getReceiveBufferSize() throws SocketException
getReceiveBufferSize in class ServerSocketSocketExceptionpublic boolean getReuseAddress() throws SocketException
getReuseAddress in class ServerSocketSocketExceptionpublic int getSoTimeout() throws IOException
getSoTimeout in class ServerSocketIOExceptionpublic boolean isBound()
isBound in class ServerSocketpublic boolean isClosed()
isClosed in class ServerSocketpublic void setReceiveBufferSize(int size) throws SocketException
setReceiveBufferSize in class ServerSocketSocketExceptionpublic void setReuseAddress(boolean on) throws SocketException
setReuseAddress in class ServerSocketSocketExceptionpublic void setSoTimeout(int timeout) throws SocketException
setSoTimeout in class ServerSocketSocketExceptionpublic String toString()
toString in class ServerSocket