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 |
write(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()
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.