Class AS4Servlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.helger.xservlet.AbstractXServlet
com.helger.phase4.servlet.AS4Servlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class AS4Servlet extends com.helger.xservlet.AbstractXServlet
AS4 receiving servlet.
This servlet works only, if a single AS4 profile is present. If multiple AS4 profiles should be served, it is recommended to provide two different servlets and customize the AS4XServletHandler accordingly. See https://github.com/phax/phase4/wiki/Multi-Profile-Handling for a more detailed description.
Use a configuration like the following in your WEB-INF/web.xm file:
<servlet>
  <servlet-name>AS4Servlet</servlet-name>
  <servlet-class>com.helger.phase4.servlet.AS4Servlet</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>AS4Servlet</servlet-name>
  <url-pattern>/as4</url-pattern>
</servlet-mapping>
 
Author:
Martin Bayerl, Philip Helger
See Also:
  • Field Summary

    Fields inherited from class com.helger.xservlet.AbstractXServlet

    REQUEST_ATTR_HANDLED_ASYNC, REQUEST_ATTR_SCOPE_CREATED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AS4Servlet

      public AS4Servlet()