Class JadexGatewayServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
jadex.publishservice.publish.JadexGatewayServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class JadexGatewayServlet extends jakarta.servlet.http.HttpServlet
Servlet implementation class WebStarter Parameter 'components' for startup components.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The request handler.
    static final String
    Constant used to store the jadex platform in the application (servlet) context.
    static final String
    Constant used to store the jadex platform reference count in the application (servlet) context.
    protected jadex.core.IExternalAccess
    The Jadex platform.

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Handle post requests.
    protected Map<String,Object>
    Get the component map.

    Methods inherited from class jakarta.servlet.http.HttpServlet

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

    Methods inherited from class jakarta.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
  • Field Details

    • JADEX_PLATFORM

      public static final String JADEX_PLATFORM
      Constant used to store the jadex platform in the application (servlet) context.
      See Also:
    • JADEX_PLATFORM_REFCOUNT

      public static final String JADEX_PLATFORM_REFCOUNT
      Constant used to store the jadex platform reference count in the application (servlet) context.
      See Also:
    • platform

      protected jadex.core.IExternalAccess platform
      The Jadex platform.
    • handler

      protected IRequestHandlerService handler
      The request handler.
  • Constructor Details

    • JadexGatewayServlet

      public JadexGatewayServlet()
  • Method Details

    • getComoponentMap

      protected Map<String,Object> getComoponentMap(String cname, Map<String,Map<String,Object>> comps)
      Get the component map.
      Parameters:
      cname - The component name.
      comps - The map of components.
      Returns:
      The component map.
    • doPost

      public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException
      Handle post requests.
      Overrides:
      doPost in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException