fr.paris.lutece.plugins.ods.web
Class AbstractDownloadFile<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GFichierFilter extends IFichierFilter,GTypeDocument extends ITypeDocument>

java.lang.Object
  extended by fr.paris.lutece.plugins.ods.web.AbstractDownloadFile<GSeance,GFichier,GFichierFilter,GTypeDocument>
All Implemented Interfaces:
IDownloadFile

public abstract class AbstractDownloadFile<GSeance extends ISeance,GFichier extends IFichier<GSeance,GFichier>,GFichierFilter extends IFichierFilter,GTypeDocument extends ITypeDocument>
extends java.lang.Object
implements IDownloadFile

Cette classe permet de telecharger un fichier


Constructor Summary
AbstractDownloadFile()
           
 
Method Summary
 void doDowloadFichier(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Télecharge un fichier.
protected abstract  fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDownloadFile

public AbstractDownloadFile()
Method Detail

getPlugin

protected abstract fr.paris.lutece.portal.service.plugin.Plugin getPlugin()

doDowloadFichier

public void doDowloadFichier(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
                      throws java.lang.Exception
Description copied from interface: IDownloadFile
Télecharge un fichier. Renvoie un flux de bytes du fichier dans l'objet HttpServletResponse response

Specified by:
doDowloadFichier in interface IDownloadFile
Parameters:
request - la requête HTTP
response - la requête HTTP
Throws:
java.lang.Exception - si le téléchargement rencontre un problème


Copyright © 2010 Mairie de Paris. All Rights Reserved.