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 -
Method Summary
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
-
Constructor Details
-
CamelHttpTransportServlet
public CamelHttpTransportServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Servlet
- Overrides:
init
in classorg.apache.camel.http.common.CamelServlet
- Throws:
jakarta.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejakarta.servlet.Servlet
- Overrides:
destroy
in classjakarta.servlet.GenericServlet
-
connect
public void connect(org.apache.camel.http.common.HttpConsumer consumer) - Specified by:
connect
in interfaceorg.apache.camel.http.common.HttpRegistryProvider
- Overrides:
connect
in classorg.apache.camel.http.common.CamelServlet
-
isIgnoreDuplicateServletName
public boolean isIgnoreDuplicateServletName() -
toString
-