Java javax.net.ssl SSLServerSocket fields, constructors, methods, implement or subclass

Example usage for Java javax.net.ssl SSLServerSocket fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.net.ssl SSLServerSocket.

The text is from its open source code.

Method

Socketaccept()
Listens for a connection to be made to this socket and accepts it.
voidbind(SocketAddress endpoint, int backlog)
Binds the ServerSocket to a specific address (IP address and port number).
voidclose()
Closes this socket.
String[]getEnabledCipherSuites()
Returns the list of cipher suites which are currently enabled for use by newly accepted connections.
String[]getEnabledProtocols()
Returns the names of the protocols which are currently enabled for use by the newly accepted connections.
booleangetNeedClientAuth()
Returns true if client authentication will be required on newly accepted server-mode SSLSockets.
String[]getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection.
String[]getSupportedProtocols()
Returns the names of the protocols which could be enabled for use.
voidsetEnabledCipherSuites(String suites[])
Sets the cipher suites enabled for use by accepted connections.
voidsetEnabledProtocols(String protocols[])
Controls which particular protocols are enabled for use by accepted connections.
voidsetEnableSessionCreation(boolean flag)
Controls whether new SSL sessions may be established by the sockets which are created from this server socket.
voidsetNeedClientAuth(boolean need)
Controls whether accepted server-mode SSLSockets will be initially configured to require client authentication.
voidsetReceiveBufferSize(int size)
Sets a default proposed value for the SocketOptions#SO_RCVBUF SO_RCVBUF option for sockets accepted from this ServerSocket .
voidsetReuseAddress(boolean on)
Enable/disable the SocketOptions#SO_REUSEADDR SO_REUSEADDR socket option.
voidsetUseClientMode(boolean mode)
Controls whether accepted connections are in the (default) SSL server mode, or the SSL client mode.
voidsetWantClientAuth(boolean want)
Controls whether accepted server-mode SSLSockets will be initially configured to request client authentication.