Class BlobStoreJspBean


  • public class BlobStoreJspBean
    extends java.lang.Object
    Provides blob download.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String doDownloadBlob​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Downloads a blob.
      java.lang.String doDownloadFile​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Download a file : blob key is the metadata key
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlobStoreJspBean

        public BlobStoreJspBean()
    • Method Detail

      • doDownloadFile

        public java.lang.String doDownloadFile​(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
        Download a file : blob key is the metadata key
        Parameters:
        request - the request
        response - the response
        Returns:
        the error message if any, null otherwise.
      • doDownloadBlob

        public java.lang.String doDownloadBlob​(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
        Downloads a blob.
        Parameters:
        request - the requrest
        response - the response
        Returns:
        the error message if any, null otherwise.