Interface PlatformHttpEngine


public interface PlatformHttpEngine
An abstraction of an HTTP Server engine on which HTTP endpoints can be deployed.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.Consumer
    createConsumer(PlatformHttpEndpoint platformHttpEndpoint, org.apache.camel.Processor processor)
    Creates a new Consumer for the given PlatformHttpEndpoint.
    default int
    The port number the HTTP server is using, if possible to determine.
  • Method Details

    • createConsumer

      org.apache.camel.Consumer createConsumer(PlatformHttpEndpoint platformHttpEndpoint, org.apache.camel.Processor processor)
      Creates a new Consumer for the given PlatformHttpEndpoint.
      Parameters:
      platformHttpEndpoint - the PlatformHttpEndpoint to create a consumer for
      processor - 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.