Package org.jclouds.atmos
Interface AtmosClient
-
- All Superinterfaces:
AutoCloseable,Closeable
@Path("/rest/namespace") public interface AtmosClient extends CloseableProvides access to EMC Atmos Online Storage resources via their REST API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URIcreateDirectory(String directoryName, PutOptions... options)URIcreateFile(String parent, AtmosObject object, PutOptions... options)booleandeletePath(String path)SystemMetadatagetSystemMetadata(String path)UserMetadatagetUserMetadata(String path)AtmosObjectheadFile(String path)booleanisPublic(String path)BoundedSet<? extends DirectoryEntry>listDirectories(ListOptions... options)BoundedSet<? extends DirectoryEntry>listDirectory(String directoryName, ListOptions... options)AtmosObjectnewObject()booleanpathExists(String path)AtmosObjectreadFile(String path, GetOptions... options)voidsetGroupAcl(String path, PutOptions options)voidupdateFile(String parent, AtmosObject object, PutOptions... options)
-
-
-
Method Detail
-
newObject
@Provides AtmosObject newObject()
-
listDirectories
@Named("ListDirectory") @GET @Path("/") @Consumes("text/xml") BoundedSet<? extends DirectoryEntry> listDirectories(ListOptions... options)
-
listDirectory
@Named("ListDirectory") @GET @Path("/{directoryName}/") @Consumes("text/xml") BoundedSet<? extends DirectoryEntry> listDirectory(@PathParam("directoryName") String directoryName, ListOptions... options)
-
createDirectory
@Named("CreateDirectory") @POST @Path("/{directoryName}/") @Produces("application/octet-stream") @Consumes("*/*") URI createDirectory(@PathParam("directoryName") String directoryName, PutOptions... options)
-
createFile
@Nullable @Named("CreateObject") @POST @Path("/{parent}/{name}") @Consumes("*/*") URI createFile(@PathParam("parent") String parent, @PathParam("name") AtmosObject object, PutOptions... options)
-
updateFile
@Named("UpdateObject") @PUT @Path("/{parent}/{name}") @Consumes("*/*") void updateFile(@PathParam("parent") String parent, @PathParam("name") AtmosObject object, PutOptions... options)
-
readFile
@Named("ReadObject") @GET @Path("/{path}") @Consumes("*/*") AtmosObject readFile(@PathParam("path") String path, GetOptions... options)
-
headFile
@Named("GetObjectMetadata") @HEAD @Path("/{path}") @Consumes("*/*") AtmosObject headFile(@PathParam("path") String path)
-
getSystemMetadata
@Named("GetSystemMetadata") @HEAD @Path("/{path}") @Consumes("*/*") SystemMetadata getSystemMetadata(@PathParam("path") String path)
-
getUserMetadata
@Named("GetUserMetadata") @HEAD @Path("/{path}") @Consumes("*/*") UserMetadata getUserMetadata(@PathParam("path") String path)
-
deletePath
@Named("DeleteObject") @DELETE @Path("/{path}") @Consumes("*/*") boolean deletePath(@PathParam("path") String path)
-
pathExists
@Named("GetObjectMetadata") @HEAD @Path("/{path}") @Consumes("*/*") boolean pathExists(@PathParam("path") String path)
-
isPublic
@Named("GetObjectMetadata") @HEAD @Path("/{path}") @Consumes("*/*") boolean isPublic(@PathParam("path") String path)
-
setGroupAcl
@Named("SetObjectMetadata") @POST @Path("/{path}") @Produces("application/octet-stream") @Consumes("*/*") void setGroupAcl(@PathParam("path") String path, PutOptions options)
-
-