|
||||||||||
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 java.lang.String[] |
CONTROL_NAMES
|
static java.lang.String[] |
CONTROL_OIDS
|
java.lang.String |
controlType
|
byte[] |
controlValue
|
java.nio.ByteBuffer |
controlValueBuffer
|
boolean |
criticality
|
static int |
OID_PAGED_SEARCH
|
Fields inherited from interface javax.naming.ldap.Control |
---|
CRITICAL, NONCRITICAL |
Constructor Summary | |
---|---|
LDAPControl(java.nio.ByteBuffer buf)
|
|
LDAPControl(java.lang.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. |
java.lang.String |
controlAttrPrefix()
Returns the internal name for the control type. |
java.nio.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()
|
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String controlType
public boolean criticality
public byte[] controlValue
public transient java.nio.ByteBuffer controlValueBuffer
public static final int OID_PAGED_SEARCH
public static final java.lang.String[] CONTROL_OIDS
public static final java.lang.String[] CONTROL_NAMES
Constructor Detail |
---|
public LDAPControl(java.lang.String oid)
public LDAPControl(java.nio.ByteBuffer buf) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean canHandleControl()
public boolean isPagedSearchControl()
public java.lang.String controlAttrPrefix()
public Entry getControlValueEntry() throws java.lang.Exception
java.lang.Exception
public void setControlValueEntry(Entry entry) throws java.lang.Exception
java.lang.Exception
public java.nio.ByteBuffer getBuffer() throws java.lang.Exception
java.lang.Exception
public byte[] getEncodedValue()
getEncodedValue
in interface javax.naming.ldap.Control
public java.lang.String getID()
getID
in interface javax.naming.ldap.Control
public boolean isCritical()
isCritical
in interface javax.naming.ldap.Control
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |