public static class ChannelFinderClientImpl.CFCBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ChannelFinderClient |
create()
Will actually create a
ChannelFinderClientImpl object using
the configuration informoation in this builder. |
ChannelFinderClientImpl.CFCBuilder |
password(String password)
Set the password to be used for the HTTP Authentication.
|
static ChannelFinderClientImpl.CFCBuilder |
serviceURL()
Creates a
ChannelFinderClientImpl.CFCBuilder for a CF client to Default URL in the
channelfinder.properties. |
static ChannelFinderClientImpl.CFCBuilder |
serviceURL(String uri)
Creates a
ChannelFinderClientImpl.CFCBuilder for a CF client to URI uri. |
static ChannelFinderClientImpl.CFCBuilder |
serviceURL(URI uri)
Creates a
ChannelFinderClientImpl.CFCBuilder for a CF client to URI
uri. |
ChannelFinderClientImpl.CFCBuilder |
username(String username)
Set the username to be used for HTTP Authentication.
|
ChannelFinderClientImpl.CFCBuilder |
withClientConfig(com.sun.jersey.api.client.config.ClientConfig clientConfig)
set the
ClientConfig to be used while creating the
channelfinder client connection. |
ChannelFinderClientImpl.CFCBuilder |
withExecutor(ExecutorService executor)
Provide your own executor on which the queries are to be made.
|
ChannelFinderClientImpl.CFCBuilder |
withHTTPAuthentication(boolean withHTTPAuthentication)
Enable of Disable the HTTP authentication on the client connection.
|
ChannelFinderClientImpl.CFCBuilder |
withTrustManager(TrustManager[] trustManager)
Set the trustManager that should be used for authentication.
|
public static ChannelFinderClientImpl.CFCBuilder serviceURL()
ChannelFinderClientImpl.CFCBuilder for a CF client to Default URL in the
channelfinder.properties.ChannelFinderClientImpl.CFCBuilderpublic static ChannelFinderClientImpl.CFCBuilder serviceURL(String uri)
ChannelFinderClientImpl.CFCBuilder for a CF client to URI uri.uri - - service uriChannelFinderClientImpl.CFCBuilderpublic static ChannelFinderClientImpl.CFCBuilder serviceURL(URI uri)
ChannelFinderClientImpl.CFCBuilder for a CF client to URI
uri.uri - - service uriChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClientImpl.CFCBuilder withHTTPAuthentication(boolean withHTTPAuthentication)
withHTTPAuthentication - -ChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClientImpl.CFCBuilder username(String username)
username - - usernameChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClientImpl.CFCBuilder password(String password)
password - - passwordChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClientImpl.CFCBuilder withClientConfig(com.sun.jersey.api.client.config.ClientConfig clientConfig)
ClientConfig to be used while creating the
channelfinder client connection.clientConfig - - client configChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClientImpl.CFCBuilder withTrustManager(TrustManager[] trustManager)
trustManager - - trust managerChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClientImpl.CFCBuilder withExecutor(ExecutorService executor)
executor - - executorChannelFinderClientImpl.CFCBuilderpublic ChannelFinderClient create() throws ChannelFinderException
ChannelFinderClientImpl object using
the configuration informoation in this builder.ChannelFinderClientImplChannelFinderExceptionCopyright © 2016. All Rights Reserved.