Class DefaultMainHttpServerFactory
java.lang.Object
org.apache.camel.component.platform.http.main.DefaultMainHttpServerFactory
- All Implemented Interfaces:
org.apache.camel.CamelContextAware,org.apache.camel.main.MainHttpServerFactory,org.apache.camel.spi.HasCamelContext
@JdkService("platform-http-server")
public class DefaultMainHttpServerFactory
extends Object
implements org.apache.camel.CamelContextAware, org.apache.camel.main.MainHttpServerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.CamelContextorg.apache.camel.ServicenewHttpManagementServer(org.apache.camel.CamelContext camelContext, org.apache.camel.main.HttpManagementServerConfigurationProperties configuration) org.apache.camel.ServicenewHttpServer(org.apache.camel.CamelContext camelContext, org.apache.camel.main.HttpServerConfigurationProperties configuration) voidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
DefaultMainHttpServerFactory
public DefaultMainHttpServerFactory()
-
-
Method Details
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContextin interfaceorg.apache.camel.spi.HasCamelContext
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext) - Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
newHttpServer
public org.apache.camel.Service newHttpServer(org.apache.camel.CamelContext camelContext, org.apache.camel.main.HttpServerConfigurationProperties configuration) - Specified by:
newHttpServerin interfaceorg.apache.camel.main.MainHttpServerFactory
-
newHttpManagementServer
public org.apache.camel.Service newHttpManagementServer(org.apache.camel.CamelContext camelContext, org.apache.camel.main.HttpManagementServerConfigurationProperties configuration) - Specified by:
newHttpManagementServerin interfaceorg.apache.camel.main.MainHttpServerFactory
-