public class BindResponseProtocolOp extends ProtocolOp
| Constructor and Description |
|---|
BindResponseProtocolOp(int resultCode)
Creates a new bind response protocol op with the provided result code.
|
BindResponseProtocolOp(int resultCode,
LocalizableMessage errorMessage)
Creates a new bind response protocol op with the provided result code and
error message.
|
BindResponseProtocolOp(int resultCode,
LocalizableMessage errorMessage,
DN matchedDN,
List<String> referralURLs)
Creates a new bind response protocol op with the provided information.
|
BindResponseProtocolOp(int resultCode,
LocalizableMessage errorMessage,
DN matchedDN,
List<String> referralURLs,
org.forgerock.opendj.ldap.ByteString serverSASLCredentials)
Creates a new bind response protocol op with the provided information.
|
| Modifier and Type | Method and Description |
|---|---|
LocalizableMessage |
getErrorMessage()
Retrieves the error message for this response.
|
DN |
getMatchedDN()
Retrieves the matched DN for this response.
|
String |
getProtocolOpName()
Retrieves the name for this protocol op type.
|
List<String> |
getReferralURLs()
Retrieves the set of referral URLs for this response.
|
int |
getResultCode()
Retrieves the result code for this response.
|
org.forgerock.opendj.ldap.ByteString |
getServerSASLCredentials()
Retrieves the server SASL credentials for this response.
|
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 |
toString(StringBuilder buffer,
int indent)
Appends a multi-line string representation of this LDAP protocol op to the
provided buffer.
|
void |
write(org.forgerock.opendj.io.ASN1Writer stream)
Writes this protocol op to an ASN.1 output stream.
|
toStringpublic BindResponseProtocolOp(int resultCode)
resultCode - The result code for this response.public BindResponseProtocolOp(int resultCode, LocalizableMessage errorMessage)
resultCode - The result code for this response.errorMessage - The error message for this response.public BindResponseProtocolOp(int resultCode, LocalizableMessage errorMessage, DN matchedDN, List<String> referralURLs)
resultCode - The result code for this response.errorMessage - The error message for this response.matchedDN - The matched DN for this response.referralURLs - The referral URLs for this response.public BindResponseProtocolOp(int resultCode, LocalizableMessage errorMessage, DN matchedDN, List<String> referralURLs, org.forgerock.opendj.ldap.ByteString serverSASLCredentials)
resultCode - The result code for this response.errorMessage - The error message for this response.matchedDN - The matched DN for this response.referralURLs - The referral URLs for this response.serverSASLCredentials - The server SASL credentials for thispublic int getResultCode()
public LocalizableMessage getErrorMessage()
null if none
is available.public DN getMatchedDN()
null if none is
available.public List<String> getReferralURLs()
null
if none are available.public org.forgerock.opendj.ldap.ByteString getServerSASLCredentials()
null if there are none.public byte getType()
ProtocolOpgetType in class ProtocolOppublic String getProtocolOpName()
ProtocolOpgetProtocolOpName in class ProtocolOppublic void write(org.forgerock.opendj.io.ASN1Writer stream) throws IOException
ProtocolOpwrite in class ProtocolOpstream - The ASN.1 output stream to write to.IOException - If a problem occurs while writing to the stream.public void toString(StringBuilder buffer)
ProtocolOptoString in class ProtocolOpbuffer - The buffer to which the string should be appended.public void toString(StringBuilder buffer, int indent)
ProtocolOptoString in class ProtocolOpbuffer - 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-2015 ForgeRock AS. All Rights Reserved.