org.ldaptive.provider
Interface ControlHandler<T>

Type Parameters:
T - type of provider control
All Known Implementing Classes:
JndiControlHandler

public interface ControlHandler<T>

Handles provider specific request and response controls.

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

Method Summary
 String getOID(T control)
          Returns the OID of the supplied control.
 T handleRequest(RequestControl requestControl)
          Converts the supplied control to a provider specific request control.
 ResponseControl handleResponse(T responseControl)
          Converts the supplied provider control to a response control.
 

Method Detail

getOID

String getOID(T control)
Returns the OID of the supplied control.

Parameters:
control - to return oid for
Returns:
control oid

handleRequest

T handleRequest(RequestControl requestControl)
Converts the supplied control to a provider specific request control.

Parameters:
requestControl - to convert
Returns:
provider specific controls

handleResponse

ResponseControl handleResponse(T responseControl)
Converts the supplied provider control to a response control.

Parameters:
responseControl - to convert
Returns:
control


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