Package org.actioncontroller.meta
Interface HttpParameterMapper
-
- All Known Implementing Classes:
SessionParameter.AutoCreateSession,SessionParameter.CreateSession,SessionParameter.SessionParameterMapper,UnencryptedCookie.AtomicReferenceMapper,UnencryptedCookie.ConsumerMapper,UnencryptedCookie.Mapper,UnencryptedCookiePreview.AtomicReferenceMapper,UnencryptedCookiePreview.ConsumerMapper,UnencryptedCookiePreview.Mapper,UnencryptedJsonCookie.MapperFactory.Mapper
- 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 HttpParameterMapper
Returned byHttpParameterMapperFactoryto be used withApiHttpExchangeto convert HTTP request information into method invocation arguments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Objectapply(ApiHttpExchange exchange)default voidonComplete(ApiHttpExchange exchange, Object argument)Invoked after the action method was completed successfully
-
-
-
Method Detail
-
apply
Object apply(ApiHttpExchange exchange) throws Exception
- Throws:
Exception
-
onComplete
default void onComplete(ApiHttpExchange exchange, Object argument)
Invoked after the action method was completed successfully
-
-