|
||||||||||
| 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 ByteBuffer controlValueBuffer
public static int OID_PAGED_SEARCH
public static String[] CONTROL_OIDS
public static String[] CONTROL_NAMES
| Constructor Detail |
|---|
public LDAPControl(String oid)
public LDAPControl(ByteBuffer buf)
throws Exception
Exception| Method Detail |
|---|
public String toString()
toString in class Objectpublic 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
Exceptionpublic byte[] getEncodedValue()
getEncodedValue in interface Controlpublic String getID()
getID in interface Controlpublic boolean isCritical()
isCritical in interface Control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||