public class SearchResultReferenceProtocolOp extends ProtocolOp
Constructor and Description |
---|
SearchResultReferenceProtocolOp(List<String> referralURLs)
Creates a new search result reference protocol op with the provided set of
referral URLs.
|
SearchResultReferenceProtocolOp(SearchResultReference searchReference)
Creates a new search result reference protocol op from the provided search
result reference object.
|
Modifier and Type | Method and Description |
---|---|
String |
getProtocolOpName()
Retrieves the name for this protocol op type.
|
List<String> |
getReferralURLs()
Retrieves the set of referral URLs for this search result reference
protocol op.
|
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.
|
toString
public SearchResultReferenceProtocolOp(List<String> referralURLs)
referralURLs
- The set of URLs for this search result reference.public SearchResultReferenceProtocolOp(SearchResultReference searchReference)
searchReference
- The search result reference object to use to
create this search result reference protocol op.public List<String> getReferralURLs()
public byte getType()
getType
in class ProtocolOp
public String getProtocolOpName()
getProtocolOpName
in class ProtocolOp
public void write(org.forgerock.opendj.io.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-2017 ForgeRock AS. All Rights Reserved.