Interface ExecutionDirectives
-
- All Known Subinterfaces:
Directives
- All Known Implementing Classes:
Directives$,ExecutionDirectives$,HttpApp
public interface ExecutionDirectives
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive<scala.runtime.BoxedUnit>handleExceptions(ExceptionHandler handler)Transforms exceptions thrown during evaluation of its inner route using the givenExceptionHandler.Directive<scala.runtime.BoxedUnit>handleRejections(RejectionHandler handler)Transforms rejections produced by its inner route using the givenRejectionHandler.
-
-
-
Method Detail
-
handleExceptions
Directive<scala.runtime.BoxedUnit> handleExceptions(ExceptionHandler handler)
Transforms exceptions thrown during evaluation of its inner route using the givenExceptionHandler.- Parameters:
handler- (undocumented)- Returns:
- (undocumented)
-
handleRejections
Directive<scala.runtime.BoxedUnit> handleRejections(RejectionHandler handler)
Transforms rejections produced by its inner route using the givenRejectionHandler.- Parameters:
handler- (undocumented)- Returns:
- (undocumented)
-
-