| Modifier and Type | Method and Description |
|---|---|
void |
ErrorHandler.accept(ServerRequest req,
ServerResponse res,
T ex)
Error handling consumer.
|
void |
Handler.accept(ServerRequest req,
ServerResponse res)
|
void |
Handler.EntityHandler.accept(ServerRequest req,
ServerResponse res,
T entity)
|
void |
RequestPredicate.ConditionalHandler.accept(ServerRequest req,
ServerResponse res) |
protected boolean |
JsonService.acceptsJson(ServerRequest request,
ServerResponse response)
Determines if JSON is an accepted response type, using
Accept and response Content-Type headers. |
boolean |
RequestPredicate.test(ServerRequest request)
Evaluate this predicate.
|
| Modifier and Type | Method and Description |
|---|---|
RequestPredicate |
RequestPredicate.and(Predicate<ServerRequest> predicate)
Returns a composed predicate that represents a logical AND expression
between this predicate and another predicate.
|
RequestPredicate |
RequestPredicate.or(Predicate<ServerRequest> predicate)
Returns a composed predicate that represents a logical OR expression
between this predicate and another predicate.
|
Copyright © 2018–2019 Oracle Corporation. All rights reserved.