Package akka.http.scaladsl.server
Class ExceptionHandler$
- java.lang.Object
-
- akka.http.scaladsl.server.ExceptionHandler$
-
public class ExceptionHandler$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ExceptionHandler$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ExceptionHandler$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionHandler
apply(scala.PartialFunction<java.lang.Throwable,scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>> pf)
java.lang.String
ErrorMessageTemplate()
ExceptionHandler
seal(ExceptionHandler handler, RoutingSettings settings)
Creates a sealed ExceptionHandler from the given one.
-
-
-
Field Detail
-
MODULE$
public static final ExceptionHandler$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
ErrorMessageTemplate
public java.lang.String ErrorMessageTemplate()
-
apply
public ExceptionHandler apply(scala.PartialFunction<java.lang.Throwable,scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>> pf)
-
seal
public ExceptionHandler seal(ExceptionHandler handler, RoutingSettings settings)
Creates a sealed ExceptionHandler from the given one. Returns the default handler if the given one isnull
.- Parameters:
handler
- (undocumented)settings
- (undocumented)- Returns:
- (undocumented)
-
-