public class ReplicationRepairRequestControl extends Control
Control.RemoveOnceControlIsMigrated
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<ReplicationRepairRequestControl> |
DECODER
The Control Decoder that can be used to decode this control.
|
static String |
OID_REPLICATION_REPAIR_CONTROL
The OID of the Replication repair Control.
|
Constructor and Description |
---|
ReplicationRepairRequestControl()
Creates a new instance of the replication repair request control with the default settings.
|
ReplicationRepairRequestControl(boolean isCritical)
Creates a new instance of the replication repair control with the provided information.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
getValue()
Returns the value, if any, associated with this control.
|
boolean |
hasValue()
Returns
true if this control has a value. |
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided buffer.
|
protected void |
writeValue(Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, getValueAdapter, isCritical, toString, write
public static final ControlDecoder<ReplicationRepairRequestControl> DECODER
public static final String OID_REPLICATION_REPAIR_CONTROL
public ReplicationRepairRequestControl()
public ReplicationRepairRequestControl(boolean isCritical)
isCritical
- Indicates whether support for this control should be considered a critical part of the client
processing.public boolean hasValue()
Control
true
if this control has a value. In some circumstances
it may be useful to determine if a control has a value, without actually
calculating the value and incurring any performance costs.true
if this control has a value, or false
if
there is no value.public ByteString getValue()
Control
protected void writeValue(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 void toString(StringBuilder buffer)
Control
Copyright 2010-2018 ForgeRock AS.