Package io.inversion

Class EngineServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
io.inversion.EngineServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class EngineServlet extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    io.inversion.Engine
     
    void
    init(jakarta.servlet.ServletConfig config)
     
    static String
    readBody(jakarta.servlet.http.HttpServletRequest request)
     
    void
    service(jakarta.servlet.http.HttpServletRequest httpReq, jakarta.servlet.http.HttpServletResponse httpResp)
     
    void
    setEngine(io.inversion.Engine engine)
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

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

    Methods inherited from class jakarta.servlet.GenericServlet

    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

    • EngineServlet

      public EngineServlet()
  • Method Details

    • readBody

      public static String readBody(jakarta.servlet.http.HttpServletRequest request) throws io.inversion.ApiException
      Throws:
      io.inversion.ApiException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.servlet.Servlet
      Overrides:
      destroy in class jakarta.servlet.GenericServlet
    • init

      public void init(jakarta.servlet.ServletConfig config)
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.http.HttpServlet
    • getEngine

      public io.inversion.Engine getEngine()
    • setEngine

      public void setEngine(io.inversion.Engine engine)
    • service

      public void service(jakarta.servlet.http.HttpServletRequest httpReq, jakarta.servlet.http.HttpServletResponse httpResp) throws jakarta.servlet.ServletException, IOException
      Overrides:
      service in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException