public static class ModelControllerClient.Factory extends Object
ModelControllerClient.| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
static ModelControllerClient |
create(InetAddress address,
int port)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(InetAddress address,
int port,
CallbackHandler handler)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(InetAddress address,
int port,
CallbackHandler handler,
Map<String,String> saslOptions)
Deprecated.
|
static ModelControllerClient |
create(ModelControllerClientConfiguration configuration)
Create a client instance based on the client configuration.
|
static ModelControllerClient |
create(String protocol,
InetAddress address,
int port)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(String protocol,
InetAddress address,
int port,
CallbackHandler handler)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(String protocol,
InetAddress address,
int port,
CallbackHandler handler,
Map<String,String> saslOptions)
Deprecated.
|
static ModelControllerClient |
create(String hostName,
int port)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler)
Create a client instance for a remote address and port and CallbackHandler.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
Map<String,String> saslOptions)
Deprecated.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext)
Deprecated.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext,
int connectionTimeout)
Deprecated.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext,
int connectionTimeout,
Map<String,String> saslOptions)
Deprecated.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext,
int connectionTimeout,
Map<String,String> saslOptions,
String clientBindAddress)
Deprecated.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port,
CallbackHandler handler)
Create a client instance for a remote address and port and CallbackHandler.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port,
CallbackHandler handler,
Map<String,String> saslOptions)
Deprecated.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext)
Deprecated.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext,
int connectionTimeout)
Deprecated.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext,
int connectionTimeout,
Map<String,String> saslOptions)
Deprecated.
|
static ModelControllerClient |
create(String protocol,
String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext,
int connectionTimeout,
Map<String,String> saslOptions,
String clientBindAddress)
Deprecated.
|
public static ModelControllerClient create(InetAddress address, int port)
address - the address of the remote hostport - the portpublic static ModelControllerClient create(String protocol, InetAddress address, int port)
protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocoladdress - the address of the remote hostport - the portpublic static ModelControllerClient create(InetAddress address, int port, CallbackHandler handler)
address - the address of the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.public static ModelControllerClient create(String protocol, InetAddress address, int port, CallbackHandler handler)
protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocoladdress - the address of the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.@Deprecated public static ModelControllerClient create(InetAddress address, int port, CallbackHandler handler, Map<String,String> saslOptions)
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)address - the address of the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.saslOptions - Additional options to be passed to the SASL mechanism.@Deprecated public static ModelControllerClient create(String protocol, InetAddress address, int port, CallbackHandler handler, Map<String,String> saslOptions)
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be usedaddress - the address of the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.saslOptions - Additional options to be passed to the SASL mechanism.public static ModelControllerClient create(String hostName, int port) throws UnknownHostException
hostName - the remote hostport - the portUnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(String protocol, String hostName, int port) throws UnknownHostException
protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the portUnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(String hostName, int port, CallbackHandler handler) throws UnknownHostException
hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.UnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(String protocol, String hostName, int port, CallbackHandler handler) throws UnknownHostException
protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.UnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String hostName, int port, CallbackHandler handler, SSLContext sslContext) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextUnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String protocol, String hostName, int port, CallbackHandler handler, SSLContext sslContext) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextUnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String hostName, int port, CallbackHandler handler, SSLContext sslContext, int connectionTimeout) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextconnectionTimeout - maximum time, in milliseconds, to wait for the connection to be establishedUnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String protocol, String hostName, int port, CallbackHandler handler, SSLContext sslContext, int connectionTimeout) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextUnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String hostName, int port, CallbackHandler handler, SSLContext sslContext, int connectionTimeout, Map<String,String> saslOptions) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextconnectionTimeout - maximum time, in milliseconds, to wait for the connection to be establishedsaslOptions - Additional options to be passed to the SASL mechanism.UnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String protocol, String hostName, int port, CallbackHandler handler, SSLContext sslContext, int connectionTimeout, Map<String,String> saslOptions) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextconnectionTimeout - maximum time, in milliseconds, to wait for the connection to be establishedsaslOptions - Additional options to be passed to the SASL mechanism.UnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String hostName, int port, CallbackHandler handler, SSLContext sslContext, int connectionTimeout, Map<String,String> saslOptions, String clientBindAddress) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextconnectionTimeout - maximum time, in milliseconds, to wait for the connection to be establishedsaslOptions - Additional options to be passed to the SASL mechanism.clientBindAddress - the address to which the client will bind.UnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String protocol, String hostName, int port, CallbackHandler handler, SSLContext sslContext, int connectionTimeout, Map<String,String> saslOptions, String clientBindAddress) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextconnectionTimeout - maximum time, in milliseconds, to wait for the connection to be establishedsaslOptions - Additional options to be passed to the SASL mechanism.clientBindAddress - the address to which the client will bind.UnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String hostName, int port, CallbackHandler handler, Map<String,String> saslOptions) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.saslOptions - Additional options to be passed to the SASL mechanism.UnknownHostException - if the host cannot be found@Deprecated public static ModelControllerClient create(String protocol, String hostName, int port, CallbackHandler handler, Map<String,String> saslOptions) throws UnknownHostException
ModelControllerClientConfiguration.Builder and create(ModelControllerClientConfiguration)protocol - The prototcol to use. If this is remote+http or remote+https http upgrade will be used rather than the native remote protocolhostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.saslOptions - Additional options to be passed to the SASL mechanism.UnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(ModelControllerClientConfiguration configuration)
configuration - the controller client configurationCopyright © 2018 JBoss by Red Hat. All rights reserved.