netscape.ldap.client.opers
Class JDAPExtendedRequest

java.lang.Object
  extended by netscape.ldap.client.opers.JDAPExtendedRequest
All Implemented Interfaces:
JDAPProtocolOp

public class JDAPExtendedRequest
extends java.lang.Object
implements JDAPProtocolOp

This class implements the ExtendedRequest request. This object is sent to the ldap server and is a v3 request.

 ExtendedRequest ::= [APPLICATION 23] SEQUENCE {
   requestName  [0] LDAPOID,
   requestValue [1] OCTET STRING OPTIONAL
 }
 

Version:
1.0
See Also:
RFC1777

Field Summary
protected  java.lang.String m_oid
          Internal variables
protected  byte[] m_value
           
 
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
JDAPExtendedRequest(java.lang.String oid, byte[] value)
          Constructs extended request.
 
Method Summary
 BERElement getBERElement()
          Gets the ber representation of extended request.
 java.lang.String getParamString()
          Retrieves the string representation of add request parameters.
 int getType()
          Retrieves protocol operation type.
 java.lang.String toString()
          Retrieves the string representation of add request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_oid

protected java.lang.String m_oid
Internal variables


m_value

protected byte[] m_value
Constructor Detail

JDAPExtendedRequest

public JDAPExtendedRequest(java.lang.String oid,
                           byte[] value)
Constructs extended request.

Parameters:
oid - object identifier
value - request value
Method Detail

getType

public int getType()
Retrieves protocol operation type.

Specified by:
getType in interface JDAPProtocolOp
Returns:
protcol type

getBERElement

public BERElement getBERElement()
Gets the ber representation of extended request.

Specified by:
getBERElement in interface JDAPProtocolOp
Returns:
ber representation of request

getParamString

public java.lang.String getParamString()
Retrieves the string representation of add request parameters.

Returns:
string representation of add request parameters

toString

public java.lang.String toString()
Retrieves the string representation of add request.

Specified by:
toString in interface JDAPProtocolOp
Overrides:
toString in class java.lang.Object
Returns:
string representation of add request