Package org.silverpeas.web.servlets
Class GoToDocument
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.silverpeas.core.web.util.servlet.GoTo
-
- org.silverpeas.web.servlets.GoToDocument
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
- Direct Known Subclasses:
GoToVersion
public class GoToDocument extends GoTo
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.silverpeas.core.web.util.servlet.GoTo
GoTo.Context
-
-
Constructor Summary
Constructors Constructor Description GoToDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDestination(String objectId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
String
redirectToFile(SimpleDocument version, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
-
Methods inherited from class org.silverpeas.core.web.util.servlet.GoTo
doGet, doPost, getContentLanguage, getDestination, getObjectId, getUserId, isUserAllowed, isUserLogin, sendJson, setGefSpaceId
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
getDestination
public String getDestination(String objectId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws Exception
- Specified by:
getDestination
in classGoTo
- Throws:
Exception
-
redirectToFile
public String redirectToFile(SimpleDocument version, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws Exception
- Throws:
Exception
-
-