⌂Akka HTTP
10.0.0
  • Java Documentation
    • Akka HTTP
      • Introduction
      • Configuration
      • HTTP Model
      • Common Abstractions (Client- and Server-Side)
      • Implications of the streaming nature of Request/Response Entities
      • Low-Level Server-Side API
      • High-level Server-Side API
      • Server-Side WebSocket Support
      • Consuming HTTP-based Services (Client-Side)
      • Server-Side HTTPS Support
      • Migration Guides (Java)
  • Scala Documentation
    • Akka HTTP
      • Introduction
      • Configuration
      • HTTP Model
      • Common Abstractions (Client- and Server-Side)
      • Implications of the streaming nature of Request/Response Entities
      • Low-Level Server-Side API
      • High-level Server-Side API
      • Server-Side WebSocket Support
      • Consuming HTTP-based Services (Client-Side)
      • Server-Side HTTPS Support
      • Handling blocking operations in Akka HTTP
      • Migration Guides
  • Security announcements
Akka HTTP
⌂Akka HTTP
10.0.0
  • Java Documentation
    • Akka HTTP
      • Introduction
      • Configuration
      • HTTP Model
      • Common Abstractions (Client- and Server-Side)
      • Implications of the streaming nature of Request/Response Entities
      • Low-Level Server-Side API
      • High-level Server-Side API
      • Server-Side WebSocket Support
      • Consuming HTTP-based Services (Client-Side)
      • Server-Side HTTPS Support
      • Migration Guides (Java)
  • Scala Documentation
    • Akka HTTP
      • Introduction
      • Configuration
      • HTTP Model
      • Common Abstractions (Client- and Server-Side)
      • Implications of the streaming nature of Request/Response Entities
      • Low-Level Server-Side API
      • High-level Server-Side API
      • Server-Side WebSocket Support
      • Consuming HTTP-based Services (Client-Side)
      • Server-Side HTTPS Support
      • Handling blocking operations in Akka HTTP
      • Migration Guides
  • Security announcements
  • Akka HTTP
  • Java Documentation
  • Akka HTTP
  • High-level Server-Side API
  • Directives
  • Predefined Directives (by trait)
  • FuturesDirectives

FuturesDirectives

Future directives can be used to run inner routes once the provided Future[T] has been completed.

  • onComplete
  • onCompleteWithBreaker
  • onSuccess
  • completeOrRecoverWith

Next: onComplete