T - Type of handled error.@FunctionalInterface
public interface ErrorHandler<T extends java.lang.Throwable>
Routing.Routing.Builder,
Routing.Rules| Modifier and Type | Method and 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–2019 Oracle Corporation. All rights reserved.