public class SubentriesControl extends Control
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<SubentriesControl> |
DECODER
The Control Decoder that can be used to decode this control.
|
Constructor and Description |
---|
SubentriesControl(boolean isCritical,
boolean visibility)
Creates a new instance of the Subentries Control with the provided information.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.ldap.ByteString |
getValue() |
boolean |
getVisibility()
Retrieves the visibility for this Subentries Control.
|
boolean |
hasValue() |
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided buffer.
|
protected 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<SubentriesControl> DECODER
public SubentriesControl(boolean isCritical, boolean visibility)
isCritical
- Indicates whether support for this control should be considered a critical part of the server
processing.visibility
- The visibility flag from the control value.public boolean hasValue()
public org.forgerock.opendj.ldap.ByteString getValue()
protected 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 boolean getVisibility()
public void toString(StringBuilder buffer)
Control
Copyright © 2010–2017 ForgeRock AS. All rights reserved.