public abstract class OSFactory<T extends OSFactory<T>> extends Object
| Modifier and Type | Method and Description |
|---|---|
static IOSClientBuilder.V2 |
builder()
Creates builder for OpenStack V2 based authentication
|
static IOSClientBuilder.V3 |
builderV3()
Creates builder for OpenStack V3 based authentication
|
static OSClient |
clientFromAccess(Access access)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient |
clientFromAccess(Access access,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient |
clientFromAccess(Access access,
Facing perspective)
Skips Authentication and created the API around a previously cached Access object.
|
static OSClient |
clientFromAccess(Access access,
Facing perspective,
Config config)
Skips Authentication and created the API around a previously cached Access object.
|
static void |
enableHttpLoggingFilter(boolean enabled)
Globally enables or disables verbose HTTP Request and Response logging useful for debugging
|
static void |
enableLegacyEndpointHandling(boolean enabled)
As of 2.0 of OpenStack4j we have removed a workaround for endpoints that have the admin URL configured wrong by substituting the
host from the original Keystone connection.
|
static void |
useJDKLogger()
Unless a logger plugin is declared the default logger is console.
|
public static OSClient clientFromAccess(Access access)
access - an authorized access entity which is to be used to create the APIpublic static OSClient clientFromAccess(Access access, Facing perspective)
access - an authorized access entity which is to be used to create the APIperspective - the current endpoint perspective to usepublic static OSClient clientFromAccess(Access access, Config config)
access - an authorized access entity which is to be used to create the APIconfig - OpenStack4j configuration optionspublic static OSClient clientFromAccess(Access access, Facing perspective, Config config)
access - an authorized access entity which is to be used to create the APIperspective - the current endpoint perspective to useconfig - OpenStack4j configuration optionspublic static void enableHttpLoggingFilter(boolean enabled)
enabled - true to enable, false to enablepublic static void enableLegacyEndpointHandling(boolean enabled)
enabled - public static void useJDKLogger()
public static IOSClientBuilder.V2 builder()
public static IOSClientBuilder.V3 builderV3()