Package com.saperion.ngc.servlet
Class AbstractAnnotationsServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.saperion.ngc.servlet.AbstractAnnotationsServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
- Direct Known Subclasses:
AnnotationsServlet
,JadiceAnnotationServlet
,JadiceSearchServlet
public abstract class AbstractAnnotationsServlet
extends jakarta.servlet.http.HttpServlet
Abstract servlet containing common methods for annotation handling.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of the attribute used to store annotations.static final String
Attribute that signals a cancel operation.static final String
Attribute that signals the final save.static final String
Attribute that signals a forced save.Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentService
getDocService
(jakarta.servlet.http.HttpSession session) Gets the doc service.protected jakarta.servlet.http.Cookie
getSessionCookie
(jakarta.servlet.http.HttpServletRequest request) Gets the session cookie.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
CANCEL_SAVE
Attribute that signals a cancel operation.- See Also:
-
FORCED_SAVE
Attribute that signals a forced save.- See Also:
-
FINAL_SAVE
Attribute that signals the final save.- See Also:
-
ANNOTATIONS_MAP
Name of the attribute used to store annotations.- See Also:
-
-
Constructor Details
-
AbstractAnnotationsServlet
public AbstractAnnotationsServlet()
-
-
Method Details
-
getSessionCookie
protected jakarta.servlet.http.Cookie getSessionCookie(jakarta.servlet.http.HttpServletRequest request) Gets the session cookie.- Parameters:
request
- the request- Returns:
- the session cookie
-
getDocService
Gets the doc service.- Parameters:
session
- the session- Returns:
- the doc service
-