org.silverpeas.servlets
Class RestOnlineFileServer

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.silverpeas.servlets.AbstractFileSender
              extended by org.silverpeas.servlets.RestOnlineFileServer
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated. this servlet is replaced by the SimpleDocumentResource REST service

@Deprecated
public class RestOnlineFileServer
extends AbstractFileSender

See Also:
SimpleDocumentResource.getFileContent(String), Serialized Form

Constructor Summary
RestOnlineFileServer()
          Deprecated.  
 
Method Summary
protected  ResourceLocator getResources()
          Deprecated.  
protected  SilverpeasFile getWantedAttachment(RestRequest restRequest)
          Deprecated.  
protected  SilverpeasFile getWantedFile(RestRequest restRequest)
          Deprecated.  
protected  SilverpeasFile getWantedVersionnedDocument(RestRequest restRequest)
          Deprecated.  
 void init(javax.servlet.ServletConfig config)
          Deprecated.  
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Deprecated.  
 
Methods inherited from class org.silverpeas.servlets.AbstractFileSender
displayWarningHtmlCode, sendFile
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestOnlineFileServer

public RestOnlineFileServer()
Deprecated. 
Method Detail

init

public void init(javax.servlet.ServletConfig config)
Deprecated. 
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws javax.servlet.ServletException,
                    IOException
Deprecated. 
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

getWantedFile

protected SilverpeasFile getWantedFile(RestRequest restRequest)
                                throws Exception
Deprecated. 
Throws:
Exception

getWantedAttachment

protected SilverpeasFile getWantedAttachment(RestRequest restRequest)
                                      throws Exception
Deprecated. 
Throws:
Exception

getWantedVersionnedDocument

protected SilverpeasFile getWantedVersionnedDocument(RestRequest restRequest)
                                              throws Exception
Deprecated. 
Throws:
Exception

getResources

protected ResourceLocator getResources()
Deprecated. 
Specified by:
getResources in class AbstractFileSender


Copyright © 2016 Silverpeas. All Rights Reserved.