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(FabricRequestManager fabricRequestManager,
FabricResponseManager fabricResponseManager)
Executes the custom post-processor logic.
|
void execute(FabricRequestManager fabricRequestManager, FabricResponseManager fabricResponseManager) throws Exception
fabricRequestManager
- Request manager used to operate on requestfabricResponseManager
- Response manager used to operate on responseException
- any error in post-processingFabricRequestManager
,
FabricResponseManager
Copyright © 2019. All rights reserved.