Package | Description |
---|---|
org.openstack4j.api.client | |
org.openstack4j.core.transport | |
org.openstack4j.openstack | |
org.openstack4j.openstack.client | |
org.openstack4j.openstack.internal |
Modifier and Type | Method and Description |
---|---|
T |
IOSClientBuilder.withConfig(Config config)
Associates the given configuration with this Client
|
Modifier and Type | Field and Description |
---|---|
static Config |
Config.DEFAULT |
Modifier and Type | Method and Description |
---|---|
Config |
HttpRequest.getConfig() |
static Config |
Config.newConfig() |
Config |
Config.withConnectionTimeout(int connectTimeout)
Sets the connection timeout in milliseconds
|
Config |
Config.withEndpointNATResolution(String natHostOrIP)
If connecting to an OpenStack deployment is in front of a NAT or Proxy then this option can be provided to dynamically change
the service endpoints hostname/IP to the one NAT is using.
|
Config |
Config.withEndpointURLResolver(EndpointURLResolver endpointURLResolver)
Sets the Endpoint URL resolver for providing the URL resolution strategy
|
Config |
Config.withHostnameVerifier(HostnameVerifier hostnameVerifier)
Sets the Hostname Verifier to use with SSL
|
Config |
Config.withMaxConnections(int maxConnections)
This sets the max allowed connections for connectors who are using a connection pool.
|
Config |
Config.withMaxConnectionsPerRoute(int maxConnectionsPerRoute)
This sets the max allowed connections per routefor connectors who are using a connection pool.
|
Config |
Config.withProxy(ProxyHost proxy)
Indicates the connector should be using a Proxy host
|
Config |
Config.withReadTimeout(int readTimeout)
Sets the read timeout in milliseconds
|
Config |
Config.withResolver(ServiceVersionResolver resolver)
Sets the Service version resolver to use in determining which API version to use with a particular OpenStack service
|
Config |
Config.withSSLContext(SSLContext sslContext)
Associates the initialized SSL Context to use when querying secure endpoints
|
Config |
Config.withSSLVerificationDisabled()
If no SSL Context has been specified and this SSL Verification is disabled we will by pass certificate checks (useful for self signed certificates).
|
Modifier and Type | Method and Description |
---|---|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.config(Config config)
Sets a client configuration to use with this session
|
Modifier and Type | Method and Description |
---|---|
static OSClient.OSClientV2 |
OSFactory.clientFromAccess(Access access,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV2 |
OSFactory.clientFromAccess(Access access,
Facing perspective,
CloudProvider provider,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV2 |
OSFactory.clientFromAccess(Access access,
Facing perspective,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient.OSClientV3 |
OSFactory.clientFromToken(Token token,
Config config)
Skips Authentication and created the API around a previously cached Token object.
|
static OSClient.OSClientV3 |
OSFactory.clientFromToken(Token token,
Facing perspective,
CloudProvider provider,
Config config)
Skips Authentication and created the API around a previously cached Token object.
|
static OSClient.OSClientV3 |
OSFactory.clientFromToken(Token token,
Facing perspective,
Config config)
Skips Authentication and created the API around a previously cached Token object.
|
Modifier and Type | Method and Description |
---|---|
T |
OSClientBuilder.withConfig(Config config) |
Modifier and Type | Method and Description |
---|---|
Config |
OSClientSession.getConfig() |
Modifier and Type | Method and Description |
---|---|
static OSClientSession.OSClientSessionV2 |
OSClientSession.OSClientSessionV2.createSession(Access access,
Facing perspective,
CloudProvider provider,
Config config) |
static OSClientSession.OSClientSessionV3 |
OSClientSession.OSClientSessionV3.createSession(Token token,
Facing perspective,
CloudProvider provider,
Config config) |
static OSClient |
OSAuthenticator.invoke(AuthStore auth,
String endpoint,
Facing perspective,
Config config,
CloudProvider provider)
Invokes authentication to obtain a valid V3 Token, throws an
UnsupportedOperationException for an V2 attempt.
|
static OSClient |
OSAuthenticator.invoke(KeystoneAuth auth,
String endpoint,
Facing perspective,
Config config,
CloudProvider provider)
Invokes V3 authentication via an existing token
|
static OSClient |
OSAuthenticator.invoke(TokenAuth auth,
String endpoint,
Facing perspective,
Config config,
CloudProvider provider)
Invokes V2 authentication via an existing token
|
R |
OSClientSession.useConfig(Config config) |
Copyright © 2017. All rights reserved.