GeezerVison is showing docs.oracle.com — SSLServerSocket (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
compact1, compact2, compact3
javax.net.ssl
Class SSLServerSocket
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method |
Description |
abstract String[] |
getEnabledCipherSuites() |
Returns the list of cipher suites which are currently enabled
for use by newly accepted connections.
|
abstract String[] |
getEnabledProtocols() |
Returns the names of the protocols which are currently
enabled for use by the newly accepted connections.
|
abstract boolean |
getEnableSessionCreation() |
Returns true if new SSL sessions may be established by the
sockets which are created from this server socket.
|
abstract boolean |
getNeedClientAuth() |
Returns true if client authentication will be required on
newly accepted server-mode SSLSockets.
|
SSLParameters |
getSSLParameters() |
Returns the SSLParameters in effect for newly accepted connections.
|
abstract String[] |
getSupportedCipherSuites() |
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
abstract String[] |
getSupportedProtocols() |
Returns the names of the protocols which could be enabled for use.
|
abstract boolean |
getUseClientMode() |
Returns true if accepted connections will be in SSL client mode.
|
abstract boolean |
getWantClientAuth() |
Returns true if client authentication will be requested on
newly accepted server-mode connections.
|
abstract void |
setEnabledCipherSuites(String[] suites) |
Sets the cipher suites enabled for use by accepted connections.
|
abstract void |
setEnabledProtocols(String[] protocols) |
Controls which particular protocols are enabled for use by
accepted connections.
|
abstract void |
setEnableSessionCreation(boolean flag) |
Controls whether new SSL sessions may be established by the
sockets which are created from this server socket.
|
abstract void |
setNeedClientAuth(boolean need) |
Controls whether accepted server-mode
SSLSockets will be initially configured to
require client authentication.
|
void |
setSSLParameters(SSLParameters params) |
Applies SSLParameters to newly accepted connections.
|
abstract void |
setUseClientMode(boolean mode) |
Controls whether accepted connections are in the (default) SSL
server mode, or the SSL client mode.
|
abstract void |
setWantClientAuth(boolean want) |
Controls whether accepted server-mode
SSLSockets will be initially configured to
request client authentication.
|
-
Methods inherited from class java.net.ServerSocket
accept, bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString
Java™ Platform Standard Ed. 8
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
|