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

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      protected DocumentService getDocService(jakarta.servlet.http.HttpSession session)
      Gets the doc service.
      Parameters:
      session - the session
      Returns:
      the doc service