org.silverpeas.servlets
Class AbstractFileSender
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.silverpeas.servlets.AbstractFileSender
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- FileServer, OnlineFileServer, RestOnlineFileServer
public abstract class AbstractFileSender
- extends javax.servlet.http.HttpServlet
AbstractServlet used to send a binary file.
Return the content of the warning key in the specified resourceLocator as message in case of error.
- Author:
- ehugonnet
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileSender
public AbstractFileSender()
sendFile
protected void sendFile(javax.servlet.http.HttpServletResponse response,
SilverpeasFile file)
throws IOException
- Throws:
IOException
displayWarningHtmlCode
protected void displayWarningHtmlCode(javax.servlet.http.HttpServletResponse res)
throws IOException
- Throws:
IOException
getResources
protected abstract ResourceLocator getResources()
Copyright © 2016 Silverpeas. All Rights Reserved.