|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.eventhandler.ldap.LDAPControl
public class LDAPControl
Field Summary | |
---|---|
static String[] |
CONTROL_NAMES
|
static String[] |
CONTROL_OIDS
|
String |
controlType
|
byte[] |
controlValue
|
ByteBuffer |
controlValueBuffer
|
boolean |
criticality
|
static int |
OID_PAGED_SEARCH
|
Fields inherited from interface javax.naming.ldap.Control |
---|
CRITICAL, NONCRITICAL |
Constructor Summary | |
---|---|
LDAPControl(ByteBuffer buf)
|
|
LDAPControl(String oid)
Creates a new instance with the given OID. |
Method Summary | |
---|---|
boolean |
canHandleControl()
Returns true if this class can handle the encoding/decoding of the control value. |
String |
controlAttrPrefix()
Returns the internal name for the control type. |
ByteBuffer |
getBuffer()
This method returns the entire LDAP control as an encoded BER sequence. |
Entry |
getControlValueEntry()
This method parses the control value into an entry object if the control is known to this class. |
byte[] |
getEncodedValue()
|
String |
getID()
|
boolean |
isCritical()
|
boolean |
isPagedSearchControl()
|
void |
setControlValueEntry(Entry entry)
This method converts the entry object to the control value sequence required by the control type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String controlType
public boolean criticality
public byte[] controlValue
public transient ByteBuffer controlValueBuffer
public static final int OID_PAGED_SEARCH
public static final String[] CONTROL_OIDS
public static final String[] CONTROL_NAMES
Constructor Detail |
---|
public LDAPControl(String oid)
public LDAPControl(ByteBuffer buf) throws Exception
Exception
Method Detail |
---|
public String toString()
toString
in class Object
public boolean canHandleControl()
public boolean isPagedSearchControl()
public String controlAttrPrefix()
public Entry getControlValueEntry() throws Exception
Exception
public void setControlValueEntry(Entry entry) throws Exception
Exception
public ByteBuffer getBuffer() throws Exception
Exception
public byte[] getEncodedValue()
getEncodedValue
in interface Control
public String getID()
getID
in interface Control
public boolean isCritical()
isCritical
in interface Control
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |