public class CompareRequestProtocolOp extends ProtocolOp
Constructor and Description |
---|
CompareRequestProtocolOp(ByteString dn,
String attributeType,
ByteString assertionValue)
Creates a new compare request protocol op with the provided information.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
getAssertionValue()
Retrieves the assertion value for this compare request.
|
String |
getAttributeType()
Retrieves the attribute type for this compare request.
|
ByteString |
getDN()
Retrieves the DN for this compare request.
|
String |
getProtocolOpName()
Retrieves the name for this protocol op type.
|
byte |
getType()
Retrieves the BER type for this protocol op.
|
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 CompareRequestProtocolOp(ByteString dn, String attributeType, ByteString assertionValue)
dn
- The DN for this compare request.attributeType
- The attribute type for this compare request.assertionValue
- The assertion value for this compare request.public ByteString getDN()
public String getAttributeType()
public ByteString getAssertionValue()
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.