org.ldaptive.control
Class ControlFactory

java.lang.Object
  extended by org.ldaptive.control.ControlFactory

public final class ControlFactory
extends Object

Utility class for creating controls.

Version:
$Revision: 3064 $ $Date: 2014-09-16 10:54:06 -0400 (Tue, 16 Sep 2014) $
Author:
Middleware Services

Method Summary
static ResponseControl createResponseControl(String oid, boolean critical, byte[] encoded)
          Creates a response control from the supplied control data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createResponseControl

public static ResponseControl createResponseControl(String oid,
                                                    boolean critical,
                                                    byte[] encoded)
Creates a response control from the supplied control data.

Parameters:
oid - of the control
critical - whether the control is critical
encoded - BER encoding of the control
Returns:
response control


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