Interface PlatformHttpEngine
-
public interface PlatformHttpEngineAn abstraction of an HTTP Server engine on which HTTP endpoints can be deployed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.apache.camel.ConsumercreateConsumer(PlatformHttpEndpoint platformHttpEndpoint, org.apache.camel.Processor processor)Creates a newConsumerfor the givenPlatformHttpEndpoint.default intgetServerPort()The port number the HTTP server is using, if possible to determine.
-
-
-
Method Detail
-
createConsumer
org.apache.camel.Consumer createConsumer(PlatformHttpEndpoint platformHttpEndpoint, org.apache.camel.Processor processor)
Creates a newConsumerfor the givenPlatformHttpEndpoint.- Parameters:
platformHttpEndpoint- thePlatformHttpEndpointto create a consumer forprocessor- the Processor to pass to- Returns:
- a new
Consumer
-
getServerPort
default int getServerPort()
The port number the HTTP server is using, if possible to determine.
-
-