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.create(Class, EntityHandler) method.| Modifier and Type | Method and 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.