Class WeblinkZipService


@Path("/weblink/zip") @Singleton public class WeblinkZipService extends AbstractWeblinkService
The Class WeblinkZipResource. This JAX-RS resource represents the weblink zip service. URL: /weblink/zip.
  • Constructor Details

    • WeblinkZipService

      public WeblinkZipService()
  • Method Details

    • getZipFile

      @GET @Path("{archive}/{field}/{id}/{filename}") @Produces("application/x-zip-compressed") public jakarta.ws.rs.core.Response getZipFile(@Context jakarta.ws.rs.core.UriInfo info, @Context jakarta.servlet.http.HttpServletRequest request, @Context WeblinkParameter params)
      Retrieves the requested document element and returns it as a download attachment.
      Parameters:
      info - the info
      request - injected HttpServletRequest
      params - the params
      Returns:
      processing dependent Response.
    • getZipFileWithoutFilename

      @GET @Path("{archive}/{field}/{id}") @Produces("application/x-zip-compressed") public jakarta.ws.rs.core.Response getZipFileWithoutFilename(@Context jakarta.ws.rs.core.UriInfo info, @Context jakarta.servlet.http.HttpServletRequest request, @Context WeblinkParameter params)
      Retrieves the requested document element and returns it as a download attachment. The attached zip file
      Parameters:
      info - the info
      request - the request
      Returns:
      the zip file without filename