Class AppianServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.appiancorp.suiteapi.servlet.AppianServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public abstract class AppianServlet extends javax.servlet.http.HttpServlet
Abstract servlet class that provide inject functionality. To have services injected into servlets, plugin servlets will be written to extend this class and add @Inject annotation for the services to be injected.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    servlet init() method that locates the web application context and autowires services with @Inject annotations.

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service

    Methods inherited from class javax.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
  • Constructor Details

    • AppianServlet

      public AppianServlet()
  • Method Details

    • init

      public void init() throws javax.servlet.ServletException
      servlet init() method that locates the web application context and autowires services with @Inject annotations. Note that the `init()` method on the AppianServlet class initializes the injectors.
      Overrides:
      init in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException