Package org.silverpeas.web.servlets
Class RestOnlineFileServer
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.silverpeas.core.web.mvc.AbstractFileSender
-
- org.silverpeas.web.servlets.RestOnlineFileServer
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class RestOnlineFileServer extends AbstractFileSender
This servlet serves the content of attachments whatever their types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestOnlineFileServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.silverpeas.kernel.bundle.SettingBundle
getSettingBunde()
void
init(javax.servlet.ServletConfig config)
void
service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
-
Methods inherited from class org.silverpeas.core.web.mvc.AbstractFileSender
displayWarningHtmlCode, sendFile
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config)
- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.servlet.GenericServlet
-
service
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
- Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
getSettingBunde
protected org.silverpeas.kernel.bundle.SettingBundle getSettingBunde()
- Specified by:
getSettingBunde
in classAbstractFileSender
-
-