Interface ExecutionDirectives
- All Known Subinterfaces:
Directives
- All Known Implementing Classes:
Directives$
,ExecutionDirectives$
,HttpApp
public interface ExecutionDirectives
-
Method Summary
Modifier and TypeMethodDescriptionDirective<scala.runtime.BoxedUnit>
handleExceptions
(ExceptionHandler handler) Transforms exceptions thrown during evaluation of its inner route using the givenpekko.http.scaladsl.server.ExceptionHandler
.Directive<scala.runtime.BoxedUnit>
handleRejections
(RejectionHandler handler) Transforms rejections produced by its inner route using the givenpekko.http.scaladsl.server.RejectionHandler
.
-
Method Details
-
handleExceptions
Transforms exceptions thrown during evaluation of its inner route using the givenpekko.http.scaladsl.server.ExceptionHandler
.- Parameters:
handler
- (undocumented)- Returns:
- (undocumented)
-
handleRejections
Transforms rejections produced by its inner route using the givenpekko.http.scaladsl.server.RejectionHandler
.- Parameters:
handler
- (undocumented)- Returns:
- (undocumented)
-