Package org.actioncontroller.meta
Interface HttpReturnMapper
-
- 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 interface HttpReturnMapper
Returned byHttpReturnMapperFactoryto be used withApiHttpExchangeto method invocation return values to HTTP response information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(Object result, ApiHttpExchange exchange)
-
-
-
Method Detail
-
accept
void accept(Object result, ApiHttpExchange exchange) throws IOException
- Throws:
IOException
-
-