Interface PlatformHttpEngine
- All Superinterfaces:
org.apache.camel.spi.EmbeddedHttpService
public interface PlatformHttpEngine
extends org.apache.camel.spi.EmbeddedHttpService
An abstraction of an HTTP Server engine on which HTTP endpoints can be deployed.
-
Method Summary
Modifier and TypeMethodDescriptioncreateConsumer(PlatformHttpEndpoint platformHttpEndpoint, org.apache.camel.Processor processor) Creates a newPlatformHttpConsumerfor the givenPlatformHttpEndpoint.default Stringdefault int
-
Method Details
-
createConsumer
PlatformHttpConsumer createConsumer(PlatformHttpEndpoint platformHttpEndpoint, org.apache.camel.Processor processor) Creates a newPlatformHttpConsumerfor the givenPlatformHttpEndpoint.- Parameters:
platformHttpEndpoint- thePlatformHttpEndpointto create a consumer forprocessor- the Processor to pass to- Returns:
- a new
PlatformHttpConsumer
-
getServerPort
default int getServerPort()- Specified by:
getServerPortin interfaceorg.apache.camel.spi.EmbeddedHttpService
-
getScheme
- Specified by:
getSchemein interfaceorg.apache.camel.spi.EmbeddedHttpService
-