public interface ObjectServicePreProcessor
Use ObjectServicePreProcessor to add custom pre-processing logic to the verb of an OBJECT SERVICE before request payload is getting parsed or a back-end service call is made by the Connector.
Note: This custom hook will be executed at early filter layer which
will give more control over request payload.
ObjectServicePreProcessor is a singleton - only one instance of this
class will be created and the same will be used for every service call.
Therefore, ObjectServicePreProcessor 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,
FabricRequestChain fabricRequestChain)
Executes the custom pre-processor logic
|
void execute(FabricRequestManager fabricRequestManager, FabricResponseManager fabricResponseManager, FabricRequestChain fabricRequestChain) throws Exception
fabricRequestManager - Request manager used to operate on requestfabricResponseManager - Response manager used to operate on responsefabricRequestChain - Request chain used to control the request flowException - any error in pre-processingFabricRequestManager,
FabricResponseManager,
FabricRequestChainCopyright © 2019. All rights reserved.