Package com.saperion.ngc.servlet
Class ViewDocumentServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.saperion.ngc.servlet.AbstractStreamingServlet
com.saperion.ngc.servlet.ViewDocumentServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAttribute in theOpenDocumentBeanthat controls rendering.Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Methods inherited from class com.saperion.ngc.servlet.AbstractStreamingServlet
destroy, getDocService, init, writeContent, writeContent, writeContent, writeInputStream, writeInputStreamMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Field Details
-
TARGET_FORMAT
Attribute in theOpenDocumentBeanthat controls rendering.- See Also:
-
-
Constructor Details
-
ViewDocumentServlet
public ViewDocumentServlet()
-
-
Method Details
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException- See Also:
-
HttpServlet.doGet(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
-