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 BERElement
m_element
protected java.lang.String[]
m_urls
Internal 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 BERElement
getBERElement()
Retrieves the BER representation of this object.int
getType()
Retrieves the protocol operation type.java.lang.String[]
getUrls()
Retrieves a list of urls.java.lang.String
toString()
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:
getType
in interfaceJDAPProtocolOp
- Returns:
- protocol type
-
getBERElement
public BERElement getBERElement()
Retrieves the BER representation of this object.- Specified by:
getBERElement
in 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:
toString
in interfaceJDAPProtocolOp
- Overrides:
toString
in classjava.lang.Object
- Returns:
- string representation
-
-