Class SecureServerSocketChannel

All Implemented Interfaces:
Closeable, AutoCloseable, Channel, InterruptibleChannel, NetworkChannel

public class SecureServerSocketChannel extends ServerSocketChannel
A ServerSocketChannel decorator that wraps a raw server socket channel, producing SecureSocketChannel instances for each accepted connection. The TLS engine for each accepted channel is configured in server mode using the provided SSLContext.

Non-accept operations are delegated transparently to the underlying raw server channel.

Author:
Radoslav Husar