Class ExecutionDirectives

Direct Known Subclasses:
FileAndResourceDirectives

public abstract class ExecutionDirectives extends DebuggingDirectives
  • Constructor Details

    • ExecutionDirectives

      public ExecutionDirectives()
  • Method Details

    • handleExceptions

      public RouteAdapter handleExceptions(ExceptionHandler handler, Supplier<Route> inner)
      Transforms exceptions thrown during evaluation of its inner route using the given pekko.http.javadsl.server.ExceptionHandler.
      Parameters:
      handler - (undocumented)
      inner - (undocumented)
      Returns:
      (undocumented)
    • handleRejections

      public RouteAdapter handleRejections(RejectionHandler handler, Supplier<Route> inner)
      Transforms rejections produced by its inner route using the given pekko.http.scaladsl.server.RejectionHandler.
      Parameters:
      handler - (undocumented)
      inner - (undocumented)
      Returns:
      (undocumented)