|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.types.Control
org.opends.server.controls.LDAPPostReadResponseControl
public class LDAPPostReadResponseControl
This class implements the post-read response control as defined in RFC 4527. This control holds the search result entry representing the state of the entry immediately before an add, modify, or modify DN operation.
Constructor Summary | |
---|---|
LDAPPostReadResponseControl(SearchResultEntry searchEntry)
Creates a new instance of this LDAP post-read response control with the provided information. |
|
LDAPPostReadResponseControl(java.lang.String oid,
boolean isCritical,
SearchResultEntry searchEntry)
Creates a new instance of this LDAP post-read response control with the provided information. |
Method Summary | |
---|---|
static LDAPPostReadResponseControl |
decodeControl(Control control)
Creates a new LDAP post-read response control from the contents of the provided control. |
SearchResultEntry |
getSearchEntry()
Retrieves the search result entry associated with this post-read response control. |
void |
setSearchEntry(SearchResultEntry searchEntry)
Specifies the search result entry for use with this post-read response control. |
java.lang.String |
toString()
Retrieves a string representation of this LDAP post-read response control. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP post-read response control to the provided buffer. |
Methods inherited from class org.opends.server.types.Control |
---|
getOID, getValue, hasValue, isCritical, setCritical, setOID, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDAPPostReadResponseControl(SearchResultEntry searchEntry)
searchEntry
- The search result entry to include in the response
control.public LDAPPostReadResponseControl(java.lang.String oid, boolean isCritical, SearchResultEntry searchEntry)
oid
- The OID to use for this control.isCritical
- Indicates whether support for this control should be
considered a critical part of the server processing.searchEntry
- The search result entry to include in the response
control.Method Detail |
---|
public static LDAPPostReadResponseControl decodeControl(Control control) throws LDAPException
control
- The generic control containing the information to use to
create this LDAP post-read response control.
LDAPException
- If this control cannot be decoded as a valid LDAP
post-read response control.public SearchResultEntry getSearchEntry()
public void setSearchEntry(SearchResultEntry searchEntry)
searchEntry
- The search result entry for use with this post-read
response control.public java.lang.String toString()
toString
in class Control
public void toString(java.lang.StringBuilder buffer)
toString
in class Control
buffer
- The buffer to which the information should be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |