Interface ServletEndpointBuilderFactory.ServletBuilders
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- ServletEndpointBuilderFactory
public static interface ServletEndpointBuilderFactory.ServletBuilders
-
Method Summary
Modifier and TypeMethodDescriptionServlet (camel-servlet) Serve HTTP requests by a Servlet.Servlet (camel-servlet) Serve HTTP requests by a Servlet.
-
Method Details
-
servlet
Servlet (camel-servlet) Serve HTTP requests by a Servlet. Category: http Since: 2.0 Maven coordinates: org.apache.camel:camel-servlet Syntax:servlet:contextPath
Path parameter: contextPath (required) The context-path to use- Parameters:
path
- contextPath- Returns:
- the dsl builder
-
servlet
default ServletEndpointBuilderFactory.ServletEndpointBuilder servlet(String componentName, String path) Servlet (camel-servlet) Serve HTTP requests by a Servlet. Category: http Since: 2.0 Maven coordinates: org.apache.camel:camel-servlet Syntax:servlet:contextPath
Path parameter: contextPath (required) The context-path to use- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- contextPath- Returns:
- the dsl builder
-