Packages

final class PekkoManagement extends Extension

Source
PekkoManagement.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PekkoManagement
  2. Extension
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PekkoManagement()(implicit system: ExtendedActorSystem)

Value Members

  1. def routes(transformSettings: (ManagementRouteProviderSettings) => ManagementRouteProviderSettings): Route

    Amend the ManagementRouteProviderSettings and get the routes for the HTTP management endpoint.

    Amend the ManagementRouteProviderSettings and get the routes for the HTTP management endpoint.

    Use this when adding authentication and HTTPS.

    This method can be used to embed the Pekko management routes in an existing Pekko HTTP server.

    Exceptions thrown

    java.lang.IllegalArgumentException if routes not configured for pekko management

  2. def routes: Route

    Get the routes for the HTTP management endpoint.

    Get the routes for the HTTP management endpoint.

    This method can be used to embed the Pekko management routes in an existing Pekko HTTP server.

    Exceptions thrown

    java.lang.IllegalArgumentException if routes not configured for pekko management

  3. val settings: PekkoManagementSettings
  4. def start(transformSettings: (ManagementRouteProviderSettings) => ManagementRouteProviderSettings): Future[Uri]

    Amend the ManagementRouteProviderSettings and start a Pekko HTTP server to serve the HTTP management endpoint.

    Amend the ManagementRouteProviderSettings and start a Pekko HTTP server to serve the HTTP management endpoint.

    Use this when adding authentication and HTTPS.

  5. def start(): Future[Uri]

    Start a Pekko HTTP server to serve the HTTP management endpoint.

  6. def stop(): Future[Done]
    Annotations
    @tailrec()