org.ldaptive.handler
Class NoOpOperationExceptionHandler<Q extends Request,S>

java.lang.Object
  extended by org.ldaptive.handler.NoOpOperationExceptionHandler<Q,S>
Type Parameters:
Q - type of ldap request
S - type of ldap response
All Implemented Interfaces:
Handler<Q,Response<S>>, OperationExceptionHandler<Q,S>

public class NoOpOperationExceptionHandler<Q extends Request,S>
extends Object
implements OperationExceptionHandler<Q,S>

Returns a handler result containing the response passed to handle(Connection, Request, Response).

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

Constructor Summary
NoOpOperationExceptionHandler()
           
 
Method Summary
 HandlerResult<Response<S>> handle(Connection conn, Q request, Response<S> response)
          Handle the supplied result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpOperationExceptionHandler

public NoOpOperationExceptionHandler()
Method Detail

handle

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

Specified by:
handle in interface Handler<Q extends Request,Response<S>>
Specified by:
handle in interface OperationExceptionHandler<Q extends Request,S>
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.