Class Phase4PeppolAS4Servlet

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

public class Phase4PeppolAS4Servlet 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.peppol.servlet.Phase4PeppolAS4Servlet</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>AS4Servlet</servlet-name>
  <url-pattern>/as4</url-pattern>
</servlet-mapping>
 
Since:
4.2.6
Author:
Philip Helger
See Also: