Class UnpackerResource


  • @Path("/unpack")
    public class UnpackerResource
    extends Object
    • Constructor Detail

      • UnpackerResource

        public UnpackerResource()
    • Method Detail

      • unpack

        @Path("/{id:(/.*)?}")
        @PUT
        @Produces({"application/zip","application/x-tar"})
        public Map<String,​byte[]> unpack​(InputStream is,
                                               @Context
                                               javax.ws.rs.core.HttpHeaders httpHeaders,
                                               @Context
                                               javax.ws.rs.core.UriInfo info)
                                        throws Exception
        Throws:
        Exception
      • unpackAll

        @Path("/all{id:(/.*)?}")
        @PUT
        @Produces({"application/zip","application/x-tar"})
        public Map<String,​byte[]> unpackAll​(InputStream is,
                                                  @Context
                                                  javax.ws.rs.core.HttpHeaders httpHeaders,
                                                  @Context
                                                  javax.ws.rs.core.UriInfo info)
                                           throws Exception
        Throws:
        Exception