Package io.inversion

Class EngineServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class EngineServlet
    extends javax.servlet.http.HttpServlet
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EngineServlet()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      io.inversion.Engine getEngine()  
      void init​(javax.servlet.ServletConfig config)  
      static java.lang.String readBody​(javax.servlet.http.HttpServletRequest request)  
      void service​(javax.servlet.http.HttpServletRequest httpReq, javax.servlet.http.HttpServletResponse httpResp)  
      void setEngine​(io.inversion.Engine engine)  
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class javax.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 Detail

      • EngineServlet

        public EngineServlet()
    • Method Detail

      • readBody

        public static java.lang.String readBody​(javax.servlet.http.HttpServletRequest request)
                                         throws io.inversion.ApiException
        Throws:
        io.inversion.ApiException
      • destroy

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

        public void init​(javax.servlet.ServletConfig config)
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
      • getEngine

        public io.inversion.Engine getEngine()
      • setEngine

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

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