final class PekkoManagement extends Extension
- Source
- PekkoManagement.scala
- Alphabetic
- By Inheritance
- PekkoManagement
- Extension
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PekkoManagement()(implicit system: ExtendedActorSystem)
Value Members
- 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
- 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
- val settings: PekkoManagementSettings
- 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.
- def start(): Future[Uri]
Start a Pekko HTTP server to serve the HTTP management endpoint.
- def stop(): Future[Done]
- Annotations
- @tailrec()