Class DownloadService.DownloadContext

  • Enclosing interface:
    DownloadService

    public static class DownloadService.DownloadContext
    extends Object
    Download context.
    Since:
    11.1
    • Field Detail

      • request

        protected final javax.servlet.http.HttpServletRequest request
      • response

        protected final javax.servlet.http.HttpServletResponse response
      • xpath

        protected final String xpath
      • blob

        protected final Blob blob
      • filename

        protected final String filename
      • reason

        protected final String reason
      • inline

        protected final Boolean inline
      • lastModified

        protected final Calendar lastModified
    • Method Detail

      • getRequest

        public javax.servlet.http.HttpServletRequest getRequest()
      • getResponse

        public javax.servlet.http.HttpServletResponse getResponse()
      • getXPath

        public String getXPath()
      • getBlob

        public Blob getBlob()
      • getFilename

        public String getFilename()
      • getReason

        public String getReason()
      • getInline

        public Boolean getInline()
      • getLastModified

        public Calendar getLastModified()
      • builder

        public static DownloadService.DownloadContext.Builder builder​(javax.servlet.http.HttpServletRequest request,
                                                                      javax.servlet.http.HttpServletResponse response)
        Creates a new builder.
        Parameters:
        request - the HTTP request
        response - the HTTP response
        Returns:
        the new builder