org.ldaptive.handler
Interface Handler<Q extends Request,S>

Type Parameters:
Q - type of ldap request
S - type of ldap response
All Known Subinterfaces:
AsyncRequestHandler, ExceptionHandler, IntermediateResponseHandler, OperationExceptionHandler<Q,S>, OperationResponseHandler<Q,T>, SearchEntryHandler, SearchReferenceHandler
All Known Implementing Classes:
AbstractBinaryAttributeHandler, AbstractOperation.ReopenOperationExceptionHandler, AbstractRetryOperationExceptionHandler, AbstractSearchEntryHandler, CaseChangeEntryHandler, DnAttributeEntryHandler, MergeAttributeEntryHandler, NoOpOperationExceptionHandler, ObjectGuidHandler, ObjectSidHandler, PrimaryGroupIdHandler, QueueingSearchExecutor.IntermediateResponseHandler, QueueingSearchExecutor.SearchEntryHandler, QueueingSearchExecutor.SearchReferenceHandler, RangeEntryHandler, RecursiveEntryHandler

public interface Handler<Q extends Request,S>

Interface for ldap handlers.

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

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

Method Detail

handle

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

Parameters:
conn - connection the operation was executed on
request - executed by the operation
result - produced from the operation
Returns:
handler result
Throws:
LdapException - if handling fails


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