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
                                               jakarta.ws.rs.core.HttpHeaders httpHeaders,
                                               @Context
                                               jakarta.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
                                                  jakarta.ws.rs.core.HttpHeaders httpHeaders,
                                                  @Context
                                                  jakarta.ws.rs.core.UriInfo info)
                                           throws Exception
        Throws:
        Exception