public interface ObjectServicePostProcessor
Use ObjectServicePostProcessor to add custom post-processing logic (like adding additional information to the response) to the verb of an OBJECT SERVICE after a back-end service call is made by the Connector.
Note: ObjectServicePostProcessor
is a singleton - only one
instance of this class will be created and the same will be used for every
service call. Therefore, ObjectServicePostProcessor
should not have
any user/request specific data or state. Any data common to all the
users/requests may be stored.
Modifier and Type | Method and Description |
---|---|
void |
execute(FoundryRequestManager foundryRequestManager,
FoundryResponseManager foundryResponseManager)
Executes the custom post-processor logic.
|
void execute(FoundryRequestManager foundryRequestManager, FoundryResponseManager foundryResponseManager) throws Exception
foundryRequestManager
- Request manager used to operate on requestfoundryResponseManager
- Response manager used to operate on responseException
- any error in post-processingFoundryRequestManager
,
FoundryResponseManager
Copyright © 2019. All rights reserved.