public static class OlogClientImpl.OlogClientBuilder extends Object
Modifier and Type | Method and Description |
---|---|
OlogClientImpl |
create() |
OlogClientImpl.OlogClientBuilder |
password(String password)
Set the password to be used for the HTTP Authentication.
|
static OlogClientImpl.OlogClientBuilder |
serviceURL()
Creates a
OlogClientImpl.OlogClientBuilder for a CF client to Default URL in
the channelfinder.properties. |
static OlogClientImpl.OlogClientBuilder |
serviceURL(String uri)
Creates a
OlogClientImpl.OlogClientBuilder for a CF client to URI
uri. |
static OlogClientImpl.OlogClientBuilder |
serviceURL(URI uri)
Creates a
OlogClientImpl.OlogClientBuilder for a CF client to URI
uri. |
OlogClientImpl.OlogClientBuilder |
username(String username)
Set the username to be used for HTTP Authentication.
|
OlogClientImpl.OlogClientBuilder |
withClientConfig(com.sun.jersey.api.client.config.ClientConfig clientConfig)
set the
ClientConfig to be used while creating the
channelfinder client connection. |
OlogClientImpl.OlogClientBuilder |
withExecutor(ExecutorService executor)
Provide your own executor on which the queries are to be made.
|
OlogClientImpl.OlogClientBuilder |
withHTTPAuthentication(boolean withHTTPAuthentication)
Enable of Disable the HTTP authentication on the client connection.
|
OlogClientImpl.OlogClientBuilder |
withTrustManager(TrustManager[] trustManager)
Set the trustManager that should be used for authentication.
|
public static OlogClientImpl.OlogClientBuilder serviceURL()
OlogClientImpl.OlogClientBuilder
for a CF client to Default URL in
the channelfinder.properties.public static OlogClientImpl.OlogClientBuilder serviceURL(String uri)
OlogClientImpl.OlogClientBuilder
for a CF client to URI
uri.uri
- OlogClientImpl.OlogClientBuilder
public static OlogClientImpl.OlogClientBuilder serviceURL(URI uri)
OlogClientImpl.OlogClientBuilder
for a CF client to URI
uri.uri
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl.OlogClientBuilder withHTTPAuthentication(boolean withHTTPAuthentication)
withHTTPAuthentication
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl.OlogClientBuilder username(String username)
username
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl.OlogClientBuilder password(String password)
password
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl.OlogClientBuilder withClientConfig(com.sun.jersey.api.client.config.ClientConfig clientConfig)
ClientConfig
to be used while creating the
channelfinder client connection.clientConfig
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl.OlogClientBuilder withTrustManager(TrustManager[] trustManager)
trustManager
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl.OlogClientBuilder withExecutor(ExecutorService executor)
executor
- OlogClientImpl.OlogClientBuilder
public OlogClientImpl create() throws Exception
Exception
Copyright © 2010-2014 Michigan State University. All Rights Reserved.