public class TlsOnlySocketFactory.DelegateSSLSocket
extends javax.net.ssl.SSLSocket
Modifier and Type | Field and Description |
---|---|
protected javax.net.ssl.SSLSocket |
delegate |
Modifier and Type | Method and Description |
---|---|
void |
addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener listener) |
void |
bind(java.net.SocketAddress localAddr) |
void |
close() |
void |
connect(java.net.SocketAddress remoteAddr) |
void |
connect(java.net.SocketAddress remoteAddr,
int timeout) |
boolean |
equals(java.lang.Object o) |
java.nio.channels.SocketChannel |
getChannel() |
java.lang.String[] |
getEnabledCipherSuites() |
java.lang.String[] |
getEnabledProtocols() |
boolean |
getEnableSessionCreation() |
java.net.InetAddress |
getInetAddress() |
java.io.InputStream |
getInputStream() |
boolean |
getKeepAlive() |
java.net.InetAddress |
getLocalAddress() |
int |
getLocalPort() |
java.net.SocketAddress |
getLocalSocketAddress() |
boolean |
getNeedClientAuth() |
boolean |
getOOBInline() |
java.io.OutputStream |
getOutputStream() |
int |
getPort() |
int |
getReceiveBufferSize() |
java.net.SocketAddress |
getRemoteSocketAddress() |
boolean |
getReuseAddress() |
int |
getSendBufferSize() |
javax.net.ssl.SSLSession |
getSession() |
int |
getSoLinger() |
int |
getSoTimeout() |
java.lang.String[] |
getSupportedCipherSuites() |
java.lang.String[] |
getSupportedProtocols() |
boolean |
getTcpNoDelay() |
int |
getTrafficClass() |
boolean |
getUseClientMode() |
boolean |
getWantClientAuth() |
boolean |
isBound() |
boolean |
isClosed() |
boolean |
isConnected() |
boolean |
isInputShutdown() |
boolean |
isOutputShutdown() |
void |
removeHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener listener) |
void |
sendUrgentData(int value) |
void |
setEnabledCipherSuites(java.lang.String[] suites) |
void |
setEnabledProtocols(java.lang.String[] protocols) |
void |
setEnableSessionCreation(boolean flag) |
TlsOnlySocketFactory.DelegateSSLSocket |
setHostname(java.lang.String host) |
void |
setKeepAlive(boolean keepAlive) |
void |
setNeedClientAuth(boolean need) |
void |
setOOBInline(boolean oobinline) |
void |
setPerformancePreferences(int connectionTime,
int latency,
int bandwidth) |
void |
setReceiveBufferSize(int size) |
void |
setReuseAddress(boolean reuse) |
void |
setSendBufferSize(int size) |
void |
setSoLinger(boolean on,
int timeout) |
void |
setSoTimeout(int timeout) |
void |
setTcpNoDelay(boolean on) |
void |
setTrafficClass(int value) |
void |
setUseClientMode(boolean mode) |
void |
setWantClientAuth(boolean want) |
void |
shutdownInput() |
void |
shutdownOutput() |
void |
startHandshake() |
java.lang.String |
toString() |
public java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class javax.net.ssl.SSLSocket
public java.lang.String[] getEnabledCipherSuites()
getEnabledCipherSuites
in class javax.net.ssl.SSLSocket
public void setEnabledCipherSuites(java.lang.String[] suites)
setEnabledCipherSuites
in class javax.net.ssl.SSLSocket
public java.lang.String[] getSupportedProtocols()
getSupportedProtocols
in class javax.net.ssl.SSLSocket
public java.lang.String[] getEnabledProtocols()
getEnabledProtocols
in class javax.net.ssl.SSLSocket
public void setEnabledProtocols(java.lang.String[] protocols)
setEnabledProtocols
in class javax.net.ssl.SSLSocket
public javax.net.ssl.SSLSession getSession()
getSession
in class javax.net.ssl.SSLSocket
public void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener listener)
addHandshakeCompletedListener
in class javax.net.ssl.SSLSocket
public void removeHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener listener)
removeHandshakeCompletedListener
in class javax.net.ssl.SSLSocket
public void startHandshake() throws java.io.IOException
startHandshake
in class javax.net.ssl.SSLSocket
java.io.IOException
public void setUseClientMode(boolean mode)
setUseClientMode
in class javax.net.ssl.SSLSocket
public boolean getUseClientMode()
getUseClientMode
in class javax.net.ssl.SSLSocket
public void setNeedClientAuth(boolean need)
setNeedClientAuth
in class javax.net.ssl.SSLSocket
public void setWantClientAuth(boolean want)
setWantClientAuth
in class javax.net.ssl.SSLSocket
public boolean getNeedClientAuth()
getNeedClientAuth
in class javax.net.ssl.SSLSocket
public boolean getWantClientAuth()
getWantClientAuth
in class javax.net.ssl.SSLSocket
public void setEnableSessionCreation(boolean flag)
setEnableSessionCreation
in class javax.net.ssl.SSLSocket
public boolean getEnableSessionCreation()
getEnableSessionCreation
in class javax.net.ssl.SSLSocket
public void bind(java.net.SocketAddress localAddr) throws java.io.IOException
bind
in class java.net.Socket
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.net.Socket
java.io.IOException
public void connect(java.net.SocketAddress remoteAddr) throws java.io.IOException
connect
in class java.net.Socket
java.io.IOException
public void connect(java.net.SocketAddress remoteAddr, int timeout) throws java.io.IOException
connect
in class java.net.Socket
java.io.IOException
public java.nio.channels.SocketChannel getChannel()
getChannel
in class java.net.Socket
public java.net.InetAddress getInetAddress()
getInetAddress
in class java.net.Socket
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.Socket
java.io.IOException
public boolean getKeepAlive() throws java.net.SocketException
getKeepAlive
in class java.net.Socket
java.net.SocketException
public java.net.InetAddress getLocalAddress()
getLocalAddress
in class java.net.Socket
public int getLocalPort()
getLocalPort
in class java.net.Socket
public java.net.SocketAddress getLocalSocketAddress()
getLocalSocketAddress
in class java.net.Socket
public boolean getOOBInline() throws java.net.SocketException
getOOBInline
in class java.net.Socket
java.net.SocketException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.Socket
java.io.IOException
public int getPort()
getPort
in class java.net.Socket
public int getReceiveBufferSize() throws java.net.SocketException
getReceiveBufferSize
in class java.net.Socket
java.net.SocketException
public java.net.SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress
in class java.net.Socket
public boolean getReuseAddress() throws java.net.SocketException
getReuseAddress
in class java.net.Socket
java.net.SocketException
public int getSendBufferSize() throws java.net.SocketException
getSendBufferSize
in class java.net.Socket
java.net.SocketException
public int getSoLinger() throws java.net.SocketException
getSoLinger
in class java.net.Socket
java.net.SocketException
public int getSoTimeout() throws java.net.SocketException
getSoTimeout
in class java.net.Socket
java.net.SocketException
public boolean getTcpNoDelay() throws java.net.SocketException
getTcpNoDelay
in class java.net.Socket
java.net.SocketException
public int getTrafficClass() throws java.net.SocketException
getTrafficClass
in class java.net.Socket
java.net.SocketException
public boolean isBound()
isBound
in class java.net.Socket
public boolean isClosed()
isClosed
in class java.net.Socket
public boolean isConnected()
isConnected
in class java.net.Socket
public boolean isInputShutdown()
isInputShutdown
in class java.net.Socket
public boolean isOutputShutdown()
isOutputShutdown
in class java.net.Socket
public void sendUrgentData(int value) throws java.io.IOException
sendUrgentData
in class java.net.Socket
java.io.IOException
public void setKeepAlive(boolean keepAlive) throws java.net.SocketException
setKeepAlive
in class java.net.Socket
java.net.SocketException
public void setOOBInline(boolean oobinline) throws java.net.SocketException
setOOBInline
in class java.net.Socket
java.net.SocketException
public void setPerformancePreferences(int connectionTime, int latency, int bandwidth)
setPerformancePreferences
in class java.net.Socket
public void setReceiveBufferSize(int size) throws java.net.SocketException
setReceiveBufferSize
in class java.net.Socket
java.net.SocketException
public void setReuseAddress(boolean reuse) throws java.net.SocketException
setReuseAddress
in class java.net.Socket
java.net.SocketException
public void setSendBufferSize(int size) throws java.net.SocketException
setSendBufferSize
in class java.net.Socket
java.net.SocketException
public void setSoLinger(boolean on, int timeout) throws java.net.SocketException
setSoLinger
in class java.net.Socket
java.net.SocketException
public void setSoTimeout(int timeout) throws java.net.SocketException
setSoTimeout
in class java.net.Socket
java.net.SocketException
public void setTcpNoDelay(boolean on) throws java.net.SocketException
setTcpNoDelay
in class java.net.Socket
java.net.SocketException
public void setTrafficClass(int value) throws java.net.SocketException
setTrafficClass
in class java.net.Socket
java.net.SocketException
public void shutdownInput() throws java.io.IOException
shutdownInput
in class java.net.Socket
java.io.IOException
public void shutdownOutput() throws java.io.IOException
shutdownOutput
in class java.net.Socket
java.io.IOException
public TlsOnlySocketFactory.DelegateSSLSocket setHostname(java.lang.String host)
public java.lang.String toString()
toString
in class java.net.Socket
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object