|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobRepositoryRemoteServiceInterceptor
Interface for interceptors that are able to view and/or modify the
messages when communication is handled with a service operating
with BaseObject
and BaseResponseObject
.
Method Summary | |
---|---|
BaseResponseObject |
handleRequest(BaseObject baseObject)
Handles request if at least one interceptor returned null
from a preRequest(BaseObject) method. |
BaseResponseObject |
postRequest(BaseResponseObject baseResponseObject)
Invoked after request is made using BaseObject
and before BaseResponseObject is sent to further
processing. |
BaseObject |
preRequest(BaseObject baseObject)
Invoked after request is made using BaseObject . |
Method Detail |
---|
BaseObject preRequest(BaseObject baseObject)
BaseObject
.
This allows modification of a request. If this method
returns null
, the interceptor chain will
break indicating that one of the interceptor should handle
the request in handleRequest(BaseObject)
method.
baseObject
- the request base object
BaseResponseObject handleRequest(BaseObject baseObject)
null
from a preRequest(BaseObject)
method.
baseObject
- the base object
BaseResponseObject postRequest(BaseResponseObject baseResponseObject)
BaseObject
and before BaseResponseObject
is sent to further
processing. This allows modification of a response.
baseResponseObject
- the response object
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |