Ask AI about Akka Libraries
Developers
Docs
SDK
Libraries
Resources
Ask AI
Blog
Release Notes
Support
Architecture
Principles
Free Training
Certification
Libraries
Libraries
Actors
HTTP
Streams
Cluster
Event Sourcing
gRPC
Projections
Integrations
Observability
Guides
Libraries
Akka Edge
Versions
Current Versions
Contact Us
Sign In
Get Started
Akka HTTP
Version 10.7.0
Scala
Java
Security Announcements
1. Introduction
2. Usage
3. Data Types & Abstractions
4. Server API
Routing DSL
Minimal Example
Longer Example
Getting started
Compared with Play framework routes
Interaction with Actors
Dynamic Routing Example
Handling HTTP Server failures in the High-Level API
File uploads
Configuring Server-side HTTPS
Routing DSL Overview
Compared with Play routes
Routes
Directives
Basics
Structure
What Directives do
Composing Directives
Type Safety of Directives
Automatic Tuple extraction (flattening)
Predefined Directives (alphabetically)
Predefined Directives (by trait)
Directives filtering or extracting from the request
Directives creating or transforming the response
List of predefined directives by trait
AttributeDirectives
BasicDirectives
CacheConditionDirectives
conditional
CachingDirectives
CodingDirectives
CookieDirectives
CorsDirectives
DebuggingDirectives
ExecutionDirectives
FileAndResourceDirectives
FileUploadDirectives
FormFieldDirectives
FuturesDirectives
HeaderDirectives
HostDirectives
JwtDirectives
Marshalling Directives
MethodDirectives
MiscDirectives
ParameterDirectives
PathDirectives
RangeDirectives
RespondWithDirectives
RouteDirectives
SchemeDirectives
SecurityDirectives
WebSocketDirectives
TimeoutDirectives
TlsDirectives
Custom Directives
Rejections
Exception Handling
Case Class Extraction
Source Streaming
Routing DSL style guide
Route TestKit
Core Server API
Server WebSocket Support
Server HTTPS Support
Graceful termination
Server-Side HTTP/2
5. Client API
6. Extensions
7. Supported Technologies
8. Tips And Tricks
9. Building Native Images
10. Contributing
11. Reference
12. Release Notes
CacheConditionDirectives
conditional
withSettings
conditional
Found an error in this documentation? The source code for this page can be found
here
. Please feel free to edit and contribute a pull request.