Package com.bhle.access.download

Examples of com.bhle.access.download.OfflineDownloadRequest


      @PathParam("guid") String guid,
      @DefaultValue("") @FormParam("ranges") String ranges,
      @DefaultValue("medium") @FormParam("resolution") Resolution resolution,
      @FormParam("email") String email) {
    String[] pageURIs = PID_EXTRACTOR.getPageURIs(guid, ranges);
    downloadGateway.download(new OfflineDownloadRequest(ContentType.JPEG,
        pageURIs, resolution, email));
    return Response.ok().build();
  }
View Full Code Here


      @PathParam("guid") String guid,
      @DefaultValue("") @FormParam("ranges") String ranges,
      @DefaultValue("medium") @FormParam("resolution") Resolution resolution,
      @FormParam("email") String email) {
    String[] pageURIs = PID_EXTRACTOR.getPageURIs(guid, ranges);
    downloadGateway.download(new OfflineDownloadRequest(ContentType.PDF,
        pageURIs, resolution, email));
    return Response.ok().build();
  }
View Full Code Here

TOP

Related Classes of com.bhle.access.download.OfflineDownloadRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.