Class CamelHttpTransportServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.camel.http.common.CamelServlet
org.apache.camel.component.servlet.CamelHttpTransportServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, org.apache.camel.http.common.HttpRegistryProvider

public class CamelHttpTransportServlet extends org.apache.camel.http.common.CamelServlet
Camel HTTP servlet which can be used in Camel routes to route servlet invocations in routes.
See Also:
  • Field Summary

    Fields inherited from class org.apache.camel.http.common.CamelServlet

    ASYNC_PARAM, EXECUTOR_REF_PARAM, FORCE_AWAIT_PARAM, log, METHODS

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    connect(org.apache.camel.http.common.HttpConsumer consumer)
     
    void
     
    void
    init(jakarta.servlet.ServletConfig config)
     
    boolean
     
     

    Methods inherited from class org.apache.camel.http.common.CamelServlet

    afterProcess, disconnect, doService, doServiceAsync, getConsumers, getExecutorService, getServletName, getServletResolveConsumerStrategy, handleService, isAsync, overrideTccl, resolve, restoreTccl, service, setAsync, setServletName, setServletResolveConsumerStrategy

    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, init, log, log

    Methods inherited from class java.lang.Object

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

    • CamelHttpTransportServlet

      public CamelHttpTransportServlet()
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class org.apache.camel.http.common.CamelServlet
      Throws:
      jakarta.servlet.ServletException
    • destroy

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

      public void connect(org.apache.camel.http.common.HttpConsumer consumer)
      Specified by:
      connect in interface org.apache.camel.http.common.HttpRegistryProvider
      Overrides:
      connect in class org.apache.camel.http.common.CamelServlet
    • isIgnoreDuplicateServletName

      public boolean isIgnoreDuplicateServletName()
    • toString

      public String toString()
      Overrides:
      toString in class Object