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, setSSLParameters
implAccept, setPerformancePreferences, setSocketFactory
protected SSLServerSocket s
protected SSLWrapperFactory wf
public SSLServerSocketWrapper(SSLServerSocket s, SSL ssl, SSLWrapperFactory wf) throws IOException
IOException
public Socket accept() throws IOException
accept
in class ServerSocket
IOException
public String[] getEnabledCipherSuites()
getEnabledCipherSuites
in class SSLServerSocket
public String[] getEnabledProtocols()
getEnabledProtocols
in class SSLServerSocket
public boolean getEnableSessionCreation()
getEnableSessionCreation
in class SSLServerSocket
public boolean getNeedClientAuth()
getNeedClientAuth
in class SSLServerSocket
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLServerSocket
public String[] getSupportedProtocols()
getSupportedProtocols
in class SSLServerSocket
public boolean getUseClientMode()
getUseClientMode
in class SSLServerSocket
public boolean getWantClientAuth()
getWantClientAuth
in class SSLServerSocket
public void setEnabledCipherSuites(String[] suites)
setEnabledCipherSuites
in class SSLServerSocket
public void setEnabledProtocols(String[] protocols)
setEnabledProtocols
in class SSLServerSocket
public void setEnableSessionCreation(boolean flag)
setEnableSessionCreation
in class SSLServerSocket
public void setNeedClientAuth(boolean need)
setNeedClientAuth
in class SSLServerSocket
public void setUseClientMode(boolean use)
setUseClientMode
in class SSLServerSocket
public void setWantClientAuth(boolean want)
setWantClientAuth
in class SSLServerSocket
public void bind(SocketAddress endpoint) throws IOException
bind
in class ServerSocket
IOException
public void bind(SocketAddress ep, int bl) throws IOException
bind
in class ServerSocket
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ServerSocket
IOException
public ServerSocketChannel getChannel()
getChannel
in class ServerSocket
public InetAddress getInetAddress()
getInetAddress
in class ServerSocket
public int getLocalPort()
getLocalPort
in class ServerSocket
public SocketAddress getLocalSocketAddress()
getLocalSocketAddress
in class ServerSocket
public int getReceiveBufferSize() throws SocketException
getReceiveBufferSize
in class ServerSocket
SocketException
public boolean getReuseAddress() throws SocketException
getReuseAddress
in class ServerSocket
SocketException
public int getSoTimeout() throws IOException
getSoTimeout
in class ServerSocket
IOException
public boolean isBound()
isBound
in class ServerSocket
public boolean isClosed()
isClosed
in class ServerSocket
public void setReceiveBufferSize(int size) throws SocketException
setReceiveBufferSize
in class ServerSocket
SocketException
public void setReuseAddress(boolean on) throws SocketException
setReuseAddress
in class ServerSocket
SocketException
public void setSoTimeout(int timeout) throws SocketException
setSoTimeout
in class ServerSocket
SocketException
public String toString()
toString
in class ServerSocket