|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interceptor gets the opportunity to pre- or post-process a service request or response, respectively, that's travelling through the WSIF. The interceptor also gets the opportunity to inform WSIF that the service is to be denied; i.e., that the service request (or response) should not be processed further.
Method Summary | |
---|---|
void |
destroy()
Destroy this interceptor. |
void |
init(WSIFInterceptorConfig ic)
Initialize the interceptor. |
boolean |
interceptIncoming(WSIFRequest request,
WSIFResponse response)
This method is invoked to allow the interceptor to process the incoming request. |
boolean |
interceptOutgoing(WSIFRequest request,
WSIFResponse response)
This method is invoked to allow the interceptor to process the outgoing response. |
Method Detail |
public void init(WSIFInterceptorConfig ic)
public boolean interceptIncoming(WSIFRequest request, WSIFResponse response) throws WSIFException
request
- the incoming service requestresponse
- the outgoing service responseWSIFException
- if something unexpected happens.public boolean interceptOutgoing(WSIFRequest request, WSIFResponse response) throws WSIFException
request
- the incoming service requestresponse
- the outgoing service responseWSIFException
- if something unexpected happens.public void destroy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |