netscape.ldap.client.opers

Class JDAPExtendedRequest

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. See RFC 1777.
 ExtendedRequest ::= [APPLICATION 23] SEQUENCE {
   requestName  [0] LDAPOID,
   requestValue [1] OCTET STRING OPTIONAL
 }
 
Version:
1.0

Field Summary

protected 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(String oid, value[] )
Constructs extended request.

Method Summary

BERElement
getBERElement()
Gets the ber representation of extended request.
String
getParamString()
Retrieves the string representation of add request parameters.
int
getType()
Retrieves protocol operation type.
String
toString()
Retrieves the string representation of add request.

Field Details

m_oid

protected String m_oid
Internal variables

m_value

protected byte[] m_value

Constructor Details

JDAPExtendedRequest

public JDAPExtendedRequest(String oid,
                           value[] )
Constructs extended request.
Parameters:
oid - object identifier

Method Details

getBERElement

public BERElement getBERElement()
Gets the ber representation of extended request.
Specified by:
getBERElement in interface JDAPProtocolOp
Returns:
ber representation of request

getParamString

public String getParamString()
Retrieves the string representation of add request parameters.
Returns:
string representation of add request parameters

getType

public int getType()
Retrieves protocol operation type.
Specified by:
getType in interface JDAPProtocolOp
Returns:
protcol type

toString

public String toString()
Retrieves the string representation of add request.
Specified by:
toString in interface JDAPProtocolOp
Returns:
string representation of add request