Class RACKSPACE_PING.RackspaceClient
java.lang.Object
org.jgroups.protocols.RACKSPACE_PING.RackspaceClient
- Enclosing class:
RACKSPACE_PING
A thread safe Rackspace ReST client
- Author:
- Gustavo Fernandes
-
Constructor Summary
ConstructorsConstructorDescriptionRackspaceClient(URL apiEndpoint, String username, String apiKey) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidAuthenticatevoidcreateContainer(String containerName) Create a container, which is equivalent to a bucketvoidcreateObject(String containerName, String objectName, byte[] contents) Create an object (=file)voiddeleteObject(String containerName, String objectName) Delete a object (=file) from the storagelistObjects(String containerName) List files in a folderbyte[]readObject(String containerName, String objectName) Read the content of a file
-
Constructor Details
-
RackspaceClient
-
-
Method Details
-
authenticate
public void authenticate()Authenticate -
deleteObject
-
createContainer
Create a container, which is equivalent to a bucket- Parameters:
containerName- Name of the container
-
createObject
-
readObject
-
listObjects
-