Package spark
Interface ResponseTransformer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A ResponseTransformer holds the implementation of the 'render' method.
-
Method Summary
-
Method Details
-
render
Method called for rendering the output.- Parameters:
model
- object used to render output.- Returns:
- message that it is sent to client.
- Throws:
Exception
- when render fails
-