fr.paris.lutece.plugins.blobstore.web
Class BlobStoreJspBean

java.lang.Object
  extended by fr.paris.lutece.plugins.blobstore.web.BlobStoreJspBean

public class BlobStoreJspBean
extends java.lang.Object

Provides blob download.


Constructor Summary
BlobStoreJspBean()
           
 
Method Summary
 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
clone, equals, finalize, 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.


Copyright © 2011 Mairie de Paris. All Rights Reserved.