Class RestServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.exoplatform.container.web.AbstractHttpServlet
org.exoplatform.services.rest.servlet.RestServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, Connector

public class RestServlet extends org.exoplatform.container.web.AbstractHttpServlet implements Connector
This servlet is front-end for the REST engine.
Version:
$Id: $
Author:
Andrey Parfonov
See Also:
  • Field Summary

    Fields inherited from class org.exoplatform.container.web.AbstractHttpServlet

    config, servletContextName

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterInit(jakarta.servlet.ServletConfig config)
    List<org.exoplatform.container.component.ComponentRequestLifecycle>
     
    protected void
    onService(org.exoplatform.container.ExoContainer container, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse)

    Methods inherited from class org.exoplatform.container.web.AbstractHttpServlet

    getContainer, getServletContext, init, onPortalEnvironmentError, requirePortalEnvironment, service

    Methods inherited from class jakarta.servlet.http.HttpServlet

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

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, 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

    • RestServlet

      public RestServlet()
  • Method Details

    • afterInit

      protected void afterInit(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
      Overrides:
      afterInit in class org.exoplatform.container.web.AbstractHttpServlet
      Throws:
      jakarta.servlet.ServletException
    • onService

      protected void onService(org.exoplatform.container.ExoContainer container, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse) throws IOException, jakarta.servlet.ServletException
      Overrides:
      onService in class org.exoplatform.container.web.AbstractHttpServlet
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getTransactionalServices

      public List<org.exoplatform.container.component.ComponentRequestLifecycle> getTransactionalServices()