org.ldaptive.handler
Interface OperationResponseHandler<Q extends Request,T>

Type Parameters:
Q - type of ldap request
T - type of ldap result contained in the response
All Superinterfaces:
Handler<Q,Response<T>>

public interface OperationResponseHandler<Q extends Request,T>
extends Handler<Q,Response<T>>

Provides handling of operation responses.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Method Summary
 HandlerResult<Response<T>> handle(Connection conn, Q request, Response<T> response)
          Handle the supplied result.
 

Method Detail

handle

HandlerResult<Response<T>> handle(Connection conn,
                                  Q request,
                                  Response<T> response)
                                  throws LdapException
Handle the supplied result.

Specified by:
handle in interface Handler<Q extends Request,Response<T>>
Parameters:
conn - connection the operation was executed on
request - executed by the operation
response - produced from the operation
Returns:
handler result
Throws:
LdapException - if handling fails


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.