public class LDAPPostReadRequestControl extends Control
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<LDAPPostReadRequestControl> |
DECODER
The Control Decoder that can be used to decode this control.
|
Constructor and Description |
---|
LDAPPostReadRequestControl(boolean isCritical,
Set<String> rawAttributes)
Creates a new instance of this LDAP post-read request control with the provided information.
|
LDAPPostReadRequestControl(String oid,
boolean isCritical,
Set<String> rawAttributes)
Creates a new instance of this LDAP post-read request control with the provided information.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getRawAttributes()
Retrieves the raw, unprocessed set of requested attributes.
|
Set<String> |
getRequestedAttributes()
Retrieves the set of processed attributes that have been requested for inclusion in the entry that is returned.
|
org.forgerock.opendj.ldap.ByteString |
getValue() |
boolean |
hasValue() |
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided buffer.
|
void |
writeValue(org.forgerock.opendj.io.Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, getValueAdapter, isCritical, toString, write
public static final ControlDecoder<LDAPPostReadRequestControl> DECODER
public LDAPPostReadRequestControl(boolean isCritical, Set<String> rawAttributes)
isCritical
- Indicates whether support for this control should be considered a critical part of the server
processing.rawAttributes
- The set of raw attributes to return in the entry. A null or empty set will indicates that all user
attributes should be returned.public LDAPPostReadRequestControl(String oid, boolean isCritical, Set<String> rawAttributes)
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.rawAttributes
- The set of raw attributes to return in the entry. A null or empty set will indicates that all user
attributes should be returned.public boolean hasValue()
public org.forgerock.opendj.ldap.ByteString getValue()
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 Set<String> getRawAttributes()
setRawAttributes
with the updated set.public Set<String> getRequestedAttributes()
public void toString(StringBuilder buffer)
Control
Copyright © 2010–2017 ForgeRock AS. All rights reserved.