org.pfsw.tools.beluga.ldap.interceptors
Class ResponseInterceptorChain
java.lang.Object
org.pfsw.tools.beluga.ldap.interceptors.InterceptorChain<IResponseInterceptor>
org.pfsw.tools.beluga.ldap.interceptors.ResponseInterceptorChain
- All Implemented Interfaces:
- IResponseInterceptor
public class ResponseInterceptorChain
- extends InterceptorChain<IResponseInterceptor>
- implements IResponseInterceptor
The holder of all response interceptors that calls them in the defined
order and returns the response message received from the last interceptor.
- Version:
- 1.0
- Author:
- Manfred Duchrow
ResponseInterceptorChain
public ResponseInterceptorChain()
- Initialize the new instance with default values.
handleResponse
public ResponseMessage handleResponse(ResponseMessage responseMessage)
- Description copied from interface:
IResponseInterceptor
- Handles the response and returns a response object that should be passed to
the next interceptor in the interceptor chain. This can also be the same
response message that was passed in to the method.
- Specified by:
handleResponse
in interface IResponseInterceptor
- Parameters:
responseMessage
- The current response
- Returns:
- The response to pass on
Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.