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.
|
TransportServer |
doBind(URI location) |
createServerSocketFactory, createTcpTransportcreateInactivityMonitor, 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 TcpTransportFactoryUnknownHostExceptionIOExceptionprotected SocketFactory createSocketFactory() throws IOException
createSocketFactory in class NIOTransportFactoryIOExceptionCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.