public class NettyWsTransportFactory extends TransportFactory
| Constructor and Description |
|---|
NettyWsTransportFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected TransportOptions |
applyTransportConfiguration(TransportOptions transportOptions,
Map<String,String> transportURIOptions)
Apply URI options to a freshly created
TransportOptions instance which will be used
when the actual Transport is created. |
protected NettyTcpTransport |
doCreateTransport(URI remoteURI,
TransportOptions transportOptions)
Create the actual Transport instance for this factory using the provided URI and
TransportOptions instances.
|
String |
getName() |
create, createTransport, doCreateTransportOptions, findTransportFactory, isSecureprotected NettyTcpTransport doCreateTransport(URI remoteURI, TransportOptions transportOptions) throws Exception
TransportFactorydoCreateTransport in class TransportFactoryremoteURI - The URI used to connect to a remote Peer.transportOptions - The TransportOptions used to configure the new Transport.Exception - if an error occurs while creating the Transport instance.public String getName()
getName in class TransportFactoryprotected TransportOptions applyTransportConfiguration(TransportOptions transportOptions, Map<String,String> transportURIOptions)
TransportFactoryTransportOptions instance which will be used
when the actual Transport is created.applyTransportConfiguration in class TransportFactorytransportOptions - The TransportOptions instance to configure.transportURIOptions - The URI options to apply to the given TransportOptions.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.