Constructor and Description |
---|
IntuitInterceptorProvider()
Constructor IntuitInterceptorProvider
|
Modifier and Type | Method and Description |
---|---|
Void |
call()
Callable interface method will be executed
|
void |
executeAsyncInterceptors(IntuitMessage intuitMessage)
Method to execute interceptors in case of Async operations.
|
void |
executeInterceptors(IntuitMessage intuitMessage)
Method to execute the interceptors (request and response) which are added
|
protected void |
executeRequestInterceptors(IntuitMessage intuitMessage)
Method to execute only request interceptors which are added to requestInterceptors list
|
protected void |
executeResponseInterceptors(IntuitMessage intuitMessage)
Method to execute only response interceptors which are added to the responseInterceptors list
|
protected List<Interceptor> |
getRequestInterceptors()
Returns current request interceptors.
|
protected void |
setRequestInterceptors(List<Interceptor> requestInterceptors)
Updates interceptors
|
public IntuitInterceptorProvider()
public void executeInterceptors(IntuitMessage intuitMessage) throws FMSException
intuitMessage
- the intuit messageFMSException
- the FMSExceptionprotected void executeRequestInterceptors(IntuitMessage intuitMessage) throws FMSException
intuitMessage
- the intuit messageFMSException
- the FMSExceptionprotected void executeResponseInterceptors(IntuitMessage intuitMessage) throws FMSException
intuitMessage
- the intuit messageFMSException
- the FMSExceptionpublic void executeAsyncInterceptors(IntuitMessage intuitMessage)
intuitMessage
- the intuit messagepublic Void call() throws FMSException
call
in interface Callable<Void>
Exception
- the callable exceptionFMSException
protected List<Interceptor> getRequestInterceptors()
protected void setRequestInterceptors(List<Interceptor> requestInterceptors)
requestInterceptors
- listCopyright © 2021. All Rights Reserved.