Interface AtmosClient

  • All Superinterfaces:
    AutoCloseable, Closeable

    @Path("/rest/namespace")
    public interface AtmosClient
    extends Closeable
    Provides access to EMC Atmos Online Storage resources via their REST API.
    • Method Detail

      • 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)