Package | Description |
---|---|
cz.cesnet.cloud.occi.api | |
cz.cesnet.cloud.occi.api.exception | |
cz.cesnet.cloud.occi.api.http | |
cz.cesnet.cloud.occi.api.http.auth |
Modifier and Type | Method and Description |
---|---|
void |
Authentication.authenticate()
Runs the authentication.
|
abstract void |
Client.connect()
Establishes a connection.
|
abstract URI |
Client.create(cz.cesnet.cloud.occi.core.Entity entity)
Creates a new resource on the server.
|
abstract boolean |
Client.delete(String resourceType)
Deletes all resource of a certain resource type from the server.
|
abstract boolean |
Client.delete(URI resourceIdentifier)
Deletes all resource of a certain resource type or specific resource from
the server.
|
abstract List<cz.cesnet.cloud.occi.core.Entity> |
Client.describe()
Retrieves descriptions for all available resources.
|
abstract List<cz.cesnet.cloud.occi.core.Entity> |
Client.describe(String resourceType)
Retrieves descriptions for available resources of a certain type.
|
abstract List<cz.cesnet.cloud.occi.core.Entity> |
Client.describe(URI resourceIdentifier)
Retrieves descriptions for available resources specified by a type
identifier or resource identifier.
|
abstract List<URI> |
Client.list()
Retrieves all available resources represented by resource locations
(URIs).
|
abstract List<URI> |
Client.list(String resourceType)
Retrieves available resources of a certain type represented by resource
locations (URIs).
|
abstract List<URI> |
Client.list(URI resourceIdentifier)
Retrieves available resources of a certain type represented by resource
locations (URIs).
|
abstract void |
Client.refresh()
Refreshes the Model used inside the client.
|
abstract boolean |
Client.trigger(String resourceType,
cz.cesnet.cloud.occi.core.ActionInstance action)
Triggers given action on a specified set of resources.
|
abstract boolean |
Client.trigger(URI resourceIdentifier,
cz.cesnet.cloud.occi.core.ActionInstance action)
Triggers given action on a set of resources or on a specified resource.
|
abstract URI |
Client.update(cz.cesnet.cloud.occi.core.Entity entity) |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticationException |
Modifier and Type | Method and Description |
---|---|
void |
HTTPClient.connect() |
URI |
HTTPClient.create(cz.cesnet.cloud.occi.core.Entity entity) |
boolean |
HTTPClient.delete(String resourceType) |
boolean |
HTTPClient.delete(URI resourceIdentifier) |
List<cz.cesnet.cloud.occi.core.Entity> |
HTTPClient.describe() |
List<cz.cesnet.cloud.occi.core.Entity> |
HTTPClient.describe(String resourceType) |
List<cz.cesnet.cloud.occi.core.Entity> |
HTTPClient.describe(URI resourceIdentifier) |
List<URI> |
HTTPClient.list() |
List<URI> |
HTTPClient.list(String resourceType) |
List<URI> |
HTTPClient.list(URI resourceIdentifier) |
void |
HTTPClient.refresh() |
static org.apache.http.client.methods.CloseableHttpResponse |
HTTPHelper.runRequest(org.apache.http.HttpRequest httpRequest,
org.apache.http.HttpHost target,
org.apache.http.impl.client.CloseableHttpClient client,
org.apache.http.protocol.HttpContext context) |
static org.apache.http.client.methods.CloseableHttpResponse |
HTTPHelper.runRequest(org.apache.http.HttpRequest httpRequest,
org.apache.http.HttpHost target,
org.apache.http.impl.client.CloseableHttpClient client,
org.apache.http.protocol.HttpContext context,
int[] statuses) |
static boolean |
HTTPHelper.runRequestForStatus(org.apache.http.HttpRequest httpRequest,
org.apache.http.HttpHost target,
org.apache.http.impl.client.CloseableHttpClient client,
org.apache.http.protocol.HttpContext context) |
static boolean |
HTTPHelper.runRequestForStatus(org.apache.http.HttpRequest httpRequest,
org.apache.http.HttpHost target,
org.apache.http.impl.client.CloseableHttpClient client,
org.apache.http.protocol.HttpContext context,
int[] statuses) |
boolean |
HTTPClient.trigger(String resourceType,
cz.cesnet.cloud.occi.core.ActionInstance action) |
boolean |
HTTPClient.trigger(URI resourceIdentifier,
cz.cesnet.cloud.occi.core.ActionInstance action) |
URI |
HTTPClient.update(cz.cesnet.cloud.occi.core.Entity entity) |
Constructor and Description |
---|
HTTPClient(URI endpoint)
Constructor.
|
HTTPClient(URI endpoint,
Authentication authentication)
Constructor.
|
HTTPClient(URI endpoint,
Authentication authentication,
String mediaType,
boolean autoconnect)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
KeystoneAuthentication.authenticate() |
void |
HTTPAuthentication.authenticate() |
void |
CertificateAuthentication.authenticate() |
void |
BasicAuthentication.authenticate() |
Copyright © 2016. All Rights Reserved.