Package org.ldaptive.control
Class ControlFactory
- java.lang.Object
-
- org.ldaptive.control.ControlFactory
-
public final class ControlFactory extends Object
Utility class for creating controls.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ControlFactory()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResponseControl
createResponseControl(String oid, boolean critical, DERBuffer encoded)
Creates a response control from the supplied control data.
-
-
-
Method Detail
-
createResponseControl
public static ResponseControl createResponseControl(String oid, boolean critical, DERBuffer encoded)
Creates a response control from the supplied control data.- Parameters:
oid
- of the controlcritical
- whether the control is criticalencoded
- BER encoding of the control- Returns:
- response control
-
-