Package io.helidon.webserver
Interface Handler.EntityHandler<T>
-
- Type Parameters:
T
- a type of the content entity
- Enclosing interface:
- Handler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Handler.EntityHandler<T>
Handlesrequest
,response
and HTTP request content entity. Used as functional parameter inHandler.create(Class, EntityHandler)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(ServerRequest req, ServerResponse res, T entity)
-
-
-
Method Detail
-
accept
void accept(ServerRequest req, ServerResponse res, T entity)
- Parameters:
req
- an HTTP requestres
- an HTTP responseentity
- an entity representing the HTTP request content
-
-