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 |
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()
ProtocolOp
getType
in class ProtocolOp
public String getProtocolOpName()
ProtocolOp
getProtocolOpName
in class ProtocolOp
public void write(Asn1Writer stream) throws IOException
ProtocolOp
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)
ProtocolOp
toString
in class ProtocolOp
buffer
- The buffer to which the string should be appended.Copyright 2010-2018 ForgeRock AS.