Package org.ldaptive.control
Class ControlFactory
java.lang.Object
org.ldaptive.control.ControlFactory
Utility class for creating controls.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseControl
createResponseControl
(String oid, boolean critical, DERBuffer encoded) Creates a response control from the supplied control data.
-
Constructor Details
-
ControlFactory
private ControlFactory()Default constructor.
-
-
Method Details
-
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
-