Package netscape.ldap.client.opers
Class JDAPExtendedRequest
- java.lang.Object
-
- 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. See RFC 1777.ExtendedRequest ::= [APPLICATION 23] SEQUENCE { requestName [0] LDAPOID, requestValue [1] OCTET STRING OPTIONAL }- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringm_oidInternal variablesprotected 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
Constructors Constructor Description JDAPExtendedRequest(java.lang.String oid, byte[] value)Constructs extended request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BERElementgetBERElement()Gets the ber representation of extended request.java.lang.StringgetParamString()Retrieves the string representation of add request parameters.intgetType()Retrieves protocol operation type.java.lang.StringtoString()Retrieves the string representation of add request.
-
-
-
Method Detail
-
getType
public int getType()
Retrieves protocol operation type.- Specified by:
getTypein interfaceJDAPProtocolOp- Returns:
- protcol type
-
getBERElement
public BERElement getBERElement()
Gets the ber representation of extended request.- Specified by:
getBERElementin interfaceJDAPProtocolOp- 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:
toStringin interfaceJDAPProtocolOp- Overrides:
toStringin classjava.lang.Object- Returns:
- string representation of add request
-
-