protected class BatchAppmasterService.JobRepositoryServiceInterceptorList
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
BatchAppmasterService.JobRepositoryServiceInterceptorList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(JobRepositoryRemoteServiceInterceptor interceptor)
Adds interceptor to the list.
|
BaseResponseObject |
handleRequest(BaseObject baseObject)
Handles the handleRequest calls.
|
BaseResponseObject |
postRequest(BaseResponseObject baseResponseObject)
Handles he post request calls.
|
BaseObject |
preRequest(BaseObject baseObject)
Handles the pre request calls.
|
boolean |
set(java.util.List<JobRepositoryRemoteServiceInterceptor> interceptors)
Sets the interceptors, clears any existing interceptors.
|
protected BatchAppmasterService.JobRepositoryServiceInterceptorList()
public boolean set(java.util.List<JobRepositoryRemoteServiceInterceptor> interceptors)
interceptors - the list of interceptorspublic boolean add(JobRepositoryRemoteServiceInterceptor interceptor)
interceptor - the interceptorCollection.add(E))public BaseObject preRequest(BaseObject baseObject)
baseObject - the base request objectnull if interceptor broke the chainpublic BaseResponseObject handleRequest(BaseObject baseObject)
baseObject - the base request objectnull if no processingpublic BaseResponseObject postRequest(BaseResponseObject baseResponseObject)
baseResponseObject - the base response object