T - Type of handled error.@FunctionalInterface
public interface ErrorHandler<T extends java.lang.Throwable>
Routing.Routing.Builder,
Routing.Rules| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(ServerRequest req,
ServerResponse res,
T ex) |
Error handling consumer.
|
void accept(ServerRequest req, ServerResponse res, T ex)
req - the server requestres - the server responseex - the cause of the errorCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.