Class PhotonAPIServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    public final class PhotonAPIServlet
    extends com.helger.xservlet.AbstractXServlet
    This class handles the API functions for the public application.
    The default registration for web.xml looks like this:
      <servlet>
        <servlet-name>PhotonAPIServlet</servlet-name>
        <servlet-class>com.helger.photon.api.servlet.PhotonAPIServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>PhotonAPIServlet</servlet-name>
        <url-pattern>/api/*</url-pattern>
      </servlet-mapping>
     
    Author:
    Philip Helger
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class com.helger.xservlet.AbstractXServlet

        destroy, exceptionHandler, filterHighLevelList, filterLowLevelList, getServletStatusMgr, handlerRegistry, init, log, log, logInvalidRequestSetup, service, service, settings, toString
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified
      • Methods inherited from class jakarta.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init