Package org.ldaptive.control
Class ControlFactory
- java.lang.Object
-
- org.ldaptive.control.ControlFactory
-
public final class ControlFactory extends java.lang.Object
Utility class for creating controls.- Author:
- Middleware Services
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResponseControl
createResponseControl(java.lang.String oid, boolean critical, DERBuffer encoded)
Creates a response control from the supplied control data.
-
-
-
Method Detail
-
createResponseControl
public static ResponseControl createResponseControl(java.lang.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
-
-