Top Description Fields Constructors Methods
ch.qos.logback.classic.net.server

public Class SSLServerSocketReceiver

extends ServerSocketReceiver
implements SSLComponent
Class Inheritance
All Implemented Interfaces
ch.qos.logback.core.net.ssl.SSLComponent
Imports
javax.net.ServerSocketFactory, javax.net.ssl.SSLContext, ch.qos.logback.core.net.ssl.ConfigurableSSLServerSocketFactory, .SSLComponent, .SSLConfiguration, .SSLParametersConfiguration

A ServerSocketReceiver that supports SSL.
Author
Carl Harris

Field Summary

Modifier and TypeField and Description
private ServerSocketFactory
private SSLConfiguration
Inherited from ch.qos.logback.classic.net.server.ServerSocketReceiver:
DEFAULT_BACKLOG

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ServerSocketFactory
public SSLConfiguration

Returns:

SSL configuration; if no SSL configuration was provided a default configuration is returned
getSsl
()

Implements ch.qos.logback.core.net.ssl.SSLComponent.getSsl.

Gets the server's SSL configuration.
public void
setSsl(SSLConfiguration
the SSL configuration to set.
ssl
)

Implements ch.qos.logback.core.net.ssl.SSLComponent.setSsl.

Gets the server's SSL configuration.
Inherited from ch.qos.logback.classic.net.server.ServerSocketReceiver:
createServerListenercreateServerRunnergetAddressgetBackloggetInetAddressgetPortgetRunnableTaskonStopsetAddresssetBacklogsetPortshouldStart

Field Detail

socketFactoryback to summary
private ServerSocketFactory socketFactory
sslback to summary
private SSLConfiguration ssl

Constructor Detail

SSLServerSocketReceiverback to summary
public SSLServerSocketReceiver()

Method Detail

getServerSocketFactoryback to summary
protected ServerSocketFactory getServerSocketFactory() throws Exception

Overrides ch.qos.logback.classic.net.server.ServerSocketReceiver.getServerSocketFactory.

Doc from ch.qos.logback.classic.net.server.ServerSocketReceiver.getServerSocketFactory.

Gets the server socket factory.

Subclasses may override to provide a custom factory.

Returns:ServerSocketFactory

server socket factory

Annotations
@Override
getSslback to summary
public SSLConfiguration getSsl()

Implements ch.qos.logback.core.net.ssl.SSLComponent.getSsl.

Gets the server's SSL configuration.

Returns:SSLConfiguration

SSL configuration; if no SSL configuration was provided a default configuration is returned

setSslback to summary
public void setSsl(SSLConfiguration ssl)

Implements ch.qos.logback.core.net.ssl.SSLComponent.setSsl.

Gets the server's SSL configuration.

Parameters
ssl:SSLConfiguration

the SSL configuration to set.