Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

ExtendedRequest Interface Reference

Inherits java::io::Serializable.

Inherited by StartTlsRequest.

List of all members.


Detailed Description

See RFC2251 for the definition of an ExtendedRequest.

See also:
ExtendedResponse

Public Member Functions

byte[] getEncodedValue ()
 Gets the request encoded using ASN.1 Basic Encoding Rules (BER).
ExtendedResponse createExtendedResponse (String s, byte[] value, int i, int i2) throws NamingException
 Returns a suitable ExtendedResponse object for this request.

Package Functions

String getID ()
 Gets the object ID assigned to this request.

Member Function Documentation

String getID (  )  [package]

Gets the object ID assigned to this request.

(see RFC2251)

Returns:
the object ID assigned to this request

Implemented in StartTlsRequest.

byte [] getEncodedValue (  ) 

Gets the request encoded using ASN.1 Basic Encoding Rules (BER).

Returns:
the request encoded using ASN.1 BER

Implemented in StartTlsRequest.

ExtendedResponse createExtendedResponse ( String  s,
byte[]  value,
int  i,
int  i2 
) throws NamingException

Returns a suitable ExtendedResponse object for this request.

The method parameters provide the data obtained by the service provider from the LDAP server for this request.

Parameters:
s the object identifier of the response control. May be null.
value holds the value of the response control as raw ASN.1 BER encoded bytes, including the tag and length of the response but excluding its OID.
i specifies the start index of useable data within array value.
i2 specifies the number of data bytes to use within array value.
Returns:
a suitable ExtendedResponse object for this request.
Exceptions:
NamingException If an error is encountered.

Implemented in StartTlsRequest.