T - a type of the content entity@FunctionalInterface
public static interface Handler.EntityHandler<T>
request, response and HTTP request content entity.
Used as functional parameter in Handler.of(Class, EntityHandler) method.| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(ServerRequest req,
ServerResponse res,
T entity) |
void accept(ServerRequest req, ServerResponse res, T entity)
req - an HTTP requestres - an HTTP responseentity - an entity representing the HTTP request contentCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.