public class IntermediateResponseProtocolOp extends ProtocolOp
Constructor and Description |
---|
IntermediateResponseProtocolOp(String oid)
Creates a new intermediate protocol op with the specified OID and no value.
|
IntermediateResponseProtocolOp(String oid,
ByteString value)
Creates a new intermediate response protocol op with the specified OID and value.
|
Modifier and Type | Method and Description |
---|---|
String |
getOID()
Retrieves the OID for this intermediate response.
|
String |
getProtocolOpName()
Retrieves the name for this protocol op type.
|
byte |
getType()
Retrieves the BER type for this protocol op.
|
ByteString |
getValue()
Retrieves the value for this intermediate response.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this LDAP protocol op to the provided buffer.
|
void |
toString(StringBuilder buffer,
int indent)
Appends a multi-line string representation of this LDAP protocol op to the provided buffer.
|
void |
write(Asn1Writer stream)
Writes this protocol op to an ASN.1 output stream.
|
toString
public IntermediateResponseProtocolOp(String oid)
oid
- The OID for this intermediate response.public IntermediateResponseProtocolOp(String oid, ByteString value)
oid
- The OID for this intermediate response.value
- The value for this intermediate response.public String getOID()
null
if there is no OID.public ByteString getValue()
null
if there is no value.public byte getType()
getType
in class ProtocolOp
public String getProtocolOpName()
getProtocolOpName
in class ProtocolOp
public void write(Asn1Writer stream) throws IOException
write
in class ProtocolOp
stream
- The ASN.1 output stream to write to.IOException
- If a problem occurs while writing to the stream.public void toString(StringBuilder buffer)
toString
in class ProtocolOp
buffer
- The buffer to which the string should be appended.public void toString(StringBuilder buffer, int indent)
toString
in class ProtocolOp
buffer
- The buffer to which the information should be appended.indent
- The number of spaces from the margin that the lines should be indented.Copyright 2010-2020 ForgeRock AS.