public class LDAPPostReadResponseControl extends Control
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<LDAPPostReadResponseControl> |
DECODER
The Control Decoder that can be used to decode this control.
|
Constructor and Description |
---|
LDAPPostReadResponseControl(boolean isCritical,
SearchResultEntry searchEntry)
Creates a new instance of this LDAP post-read response control with the
provided information.
|
LDAPPostReadResponseControl(SearchResultEntry searchEntry)
Creates a new instance of this LDAP post-read response control with the
provided information.
|
Modifier and Type | Method and Description |
---|---|
SearchResultEntry |
getSearchEntry()
Retrieves the search result entry associated with this post-read response
control.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this LDAP post-read response control to
the provided buffer.
|
void |
writeValue(org.forgerock.opendj.io.Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, isCritical, toString, write
public static final ControlDecoder<LDAPPostReadResponseControl> DECODER
public LDAPPostReadResponseControl(SearchResultEntry searchEntry)
searchEntry
- The search result entry to include in the response
control.public LDAPPostReadResponseControl(boolean isCritical, SearchResultEntry searchEntry)
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.public void writeValue(org.forgerock.opendj.io.Asn1Writer writer) throws IOException
Control
writeValue
in class Control
writer
- The ASN.1 writer to use.IOException
- If a problem occurs while writing to the
stream.public SearchResultEntry getSearchEntry()
public void toString(StringBuilder buffer)
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.