public class NIOSSLTransportFactory extends NIOTransportFactory
| Modifier and Type | Field and Description |
|---|---|
protected SSLContext |
context |
| Constructor and Description |
|---|
NIOSSLTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
Transport |
compositeConfigure(Transport transport,
WireFormat format,
Map options)
Overriding to allow for proper configuration through reflection but
delegate to get common configuration
|
protected SocketFactory |
createSocketFactory()
Creates a new SSL SocketFactory.
|
protected TcpTransportServer |
createTcpTransportServer(URI location,
ServerSocketFactory serverSocketFactory)
Allows subclasses of TcpTransportFactory to create custom instances of
TcpTransportServer.
|
protected Transport |
createTransport(URI location,
WireFormat wf)
Overriding to use SslTransports.
|
TcpTransport |
createTransport(WireFormat wireFormat,
Socket socket,
SSLEngine engine,
TcpTransport.InitBuffer initBuffer,
ByteBuffer inputBuffer) |
TransportServer |
doBind(URI location) |
createServerSocketFactory, createTcpTransport, createTransportcreateInactivityMonitor, isUseInactivityMonitorbind, compositeConnect, compositeConnect, configure, connect, connect, createWireFormat, createWireFormatFactory, doCompositeConnect, doCompositeConnect, doConnect, doConnect, findTransportFactory, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigureprotected SSLContext context
public NIOSSLTransportFactory()
protected TcpTransportServer createTcpTransportServer(URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException
TcpTransportFactorycreateTcpTransportServer in class NIOTransportFactoryIOExceptionURISyntaxExceptionpublic TransportServer doBind(URI location) throws IOException
doBind in class TcpTransportFactoryIOExceptionpublic Transport compositeConfigure(Transport transport, WireFormat format, Map options)
compositeConfigure in class TcpTransportFactoryprotected Transport createTransport(URI location, WireFormat wf) throws UnknownHostException, IOException
createTransport in class TcpTransportFactoryUnknownHostExceptionIOExceptionpublic TcpTransport createTransport(WireFormat wireFormat, Socket socket, SSLEngine engine, TcpTransport.InitBuffer initBuffer, ByteBuffer inputBuffer) throws IOException
createTransport in class TcpTransportFactoryIOExceptionprotected SocketFactory createSocketFactory() throws IOException
createSocketFactory in class NIOTransportFactoryIOExceptionCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.