Package netscape.ldap.client.opers
Class JDAPSearchResultReference
- java.lang.Object
-
- netscape.ldap.client.opers.JDAPSearchResultReference
-
- All Implemented Interfaces:
JDAPProtocolOp
public class JDAPSearchResultReference extends java.lang.Object implements JDAPProtocolOp
This class implements the search result reference. See RFC 1777.SearchResultReference :: [APPLICATION 19] SEQUENCE OF LDAPURL
- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected BERElementm_elementprotected java.lang.String[]m_urlsInternal variables-
Fields inherited from interface netscape.ldap.client.opers.JDAPProtocolOp
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST
-
-
Constructor Summary
Constructors Constructor Description JDAPSearchResultReference(BERElement element)Constructs extended response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BERElementgetBERElement()Retrieves the BER representation of this object.intgetType()Retrieves the protocol operation type.java.lang.String[]getUrls()Retrieves a list of urls.java.lang.StringtoString()Retrieve the string representation.
-
-
-
Field Detail
-
m_urls
protected java.lang.String[] m_urls
Internal variables
-
m_element
protected BERElement m_element
-
-
Constructor Detail
-
JDAPSearchResultReference
public JDAPSearchResultReference(BERElement element) throws java.io.IOException
Constructs extended response.- Parameters:
element- ber element of add response- Throws:
java.io.IOException
-
-
Method Detail
-
getType
public int getType()
Retrieves the protocol operation type.- Specified by:
getTypein interfaceJDAPProtocolOp- Returns:
- protocol type
-
getBERElement
public BERElement getBERElement()
Retrieves the BER representation of this object.- Specified by:
getBERElementin interfaceJDAPProtocolOp- Returns:
- ber representation
-
getUrls
public java.lang.String[] getUrls()
Retrieves a list of urls.
-
toString
public java.lang.String toString()
Retrieve the string representation.- Specified by:
toStringin interfaceJDAPProtocolOp- Overrides:
toStringin classjava.lang.Object- Returns:
- string representation
-
-