Package com.saperion.ngc.servlet
Class AnnotationsServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.saperion.ngc.servlet.AbstractAnnotationsServlet
com.saperion.ngc.servlet.AnnotationsServlet
- All Implemented Interfaces:
- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
Servlet to stream annotations to viewer from doc service.
- See Also:
- 
Field SummaryFields inherited from class com.saperion.ngc.servlet.AbstractAnnotationsServletANNOTATIONS_MAP, CANCEL_SAVE, FINAL_SAVE, FORCED_SAVEFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.saperion.ngc.servlet.AbstractAnnotationsServletgetDocService, getSessionCookieMethods inherited from class jakarta.servlet.http.HttpServletdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
AnnotationsServletpublic AnnotationsServlet()
 
- 
- 
Method Details- 
initpublic void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
- initin interface- jakarta.servlet.Servlet
- Overrides:
- initin class- jakarta.servlet.http.HttpServlet
- Throws:
- jakarta.servlet.ServletException
- See Also:
- 
- GenericServlet.init(jakarta.servlet.ServletConfig)
 
 
- 
doGetpublic final void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException Servlet get-method. Retrieves annotations from the backend or from the session, if the session contains temporarily stored annotations for the specified document. The format of the returned annotations can be influences by using the converterClass init-parameter. The current document is found by using the viewer-id to get all required information from the session.- Overrides:
- doGetin class- jakarta.servlet.http.HttpServlet
- Parameters:
- request- Request
- response- Response
- Throws:
- jakarta.servlet.ServletException- servlet exception
- IOException- IOException
- See Also:
- 
- HttpServlet.doGet(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)
 
 
 
-