Interface ResponseMarshaler.Builder.PostProcessor
- Enclosing class:
ResponseMarshaler.Builder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function used to support a pluggable "post-process" hook for any final customization or processing before data goes over the wire.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionpostProcess(MarshaledResponse marshaledResponse) Applies an optional "post-process" hook for any final customization or processing before data goes over the wire.
-
Method Details
-
postProcess
Applies an optional "post-process" hook for any final customization or processing before data goes over the wire.- Parameters:
marshaledResponse- the response data generated by the appropriate handler function, but not yet sent over the wire- Returns:
- the response data (possibly customized) to be sent over the wire
-