Class MCRIViewZipResource

java.lang.Object
org.mycore.iview2.frontend.resources.MCRIViewZipResource

@Path("/iview/zip") public class MCRIViewZipResource extends Object
  • Constructor Details

    • MCRIViewZipResource

      public MCRIViewZipResource()
  • Method Details

    • zip

      @GET @Produces("application/zip") @Path("{derivateID}") public jakarta.ws.rs.core.Response zip(@PathParam("derivateID") String derivateID, @QueryParam("zoom") Integer zoom) throws Exception
      Zips a derivate and its containing iview images as jpg's. All other files are ignored.
      Parameters:
      derivateID - the derivate to zip
      zoom - if undefined the base resolution is assumed
      Returns:
      zip file
      Throws:
      Exception