Package com.saperion.ngc.servlet
Class ViewDocumentServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.saperion.ngc.servlet.AbstractStreamingServlet
-
- com.saperion.ngc.servlet.ViewDocumentServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ViewDocumentServlet extends AbstractStreamingServlet
Servlet used to view a document in a viewer. The document is found by using the viewer's id to get all required information from the session.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TARGET_FORMAT
Attribute in theOpenDocumentBean
that controls rendering.
-
Constructor Summary
Constructors Constructor Description ViewDocumentServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-
Methods inherited from class com.saperion.ngc.servlet.AbstractStreamingServlet
destroy, getDocService, init, writeContent, writeContent, writeContent, writeInputStream, writeInputStream
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
TARGET_FORMAT
public static final java.lang.String TARGET_FORMAT
Attribute in theOpenDocumentBean
that controls rendering.- See Also:
- Constant Field Values
-
-
Method Detail
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
-
-