All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcExtendedRequest

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1Structured
          extended by com.novell.ldap.asn1.ASN1Sequence
              extended by com.novell.ldap.rfc2251.RfcExtendedRequest
All Implemented Interfaces:
RfcRequest, java.io.Serializable

public class RfcExtendedRequest
extends ASN1Sequence
implements RfcRequest

Represents an LDAP Extended Request.

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

See Also:
Serialized Form

Field Summary
static int REQUEST_NAME
          Context-specific TAG for optional requestName.
static int REQUEST_VALUE
          Context-specific TAG for optional requestValue.
 
Fields inherited from class com.novell.ldap.asn1.ASN1Sequence
TAG
 
Constructor Summary
RfcExtendedRequest(ASN1Object[] origRequest)
          Constructs an extended request from an existing request.
RfcExtendedRequest(RfcLDAPOID requestName)
          Constructs an extended request.
RfcExtendedRequest(RfcLDAPOID requestName, ASN1OctetString requestValue)
          Constructs an extended request.
 
Method Summary
 RfcRequest dupRequest(java.lang.String base, java.lang.String filter, boolean request)
          Builds a new request using the data from the this object.
 ASN1Identifier getIdentifier()
          Override getIdentifier to return an application-wide id.
 java.lang.String getRequestDN()
          Builds a new request using the data from the this object.
 
Methods inherited from class com.novell.ldap.asn1.ASN1Sequence
toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Structured
add, decodeStructured, encode, get, set, size, toArray, toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Object
getEncoding, setIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUEST_NAME

public static final int REQUEST_NAME
Context-specific TAG for optional requestName.

See Also:
Constant Field Values

REQUEST_VALUE

public static final int REQUEST_VALUE
Context-specific TAG for optional requestValue.

See Also:
Constant Field Values
Constructor Detail

RfcExtendedRequest

public RfcExtendedRequest(RfcLDAPOID requestName)
Constructs an extended request.

Parameters:
requestName - The OID for this extended operation.

RfcExtendedRequest

public RfcExtendedRequest(RfcLDAPOID requestName,
                          ASN1OctetString requestValue)
Constructs an extended request.

Parameters:
requestName - The OID for this extended operation.
requestValue - An optional request value.

RfcExtendedRequest

public RfcExtendedRequest(ASN1Object[] origRequest)
                   throws LDAPException
Constructs an extended request from an existing request.

Parameters:
origRequest - ASN1Object of existing request
Throws:
LDAPException
Method Detail

getIdentifier

public final ASN1Identifier getIdentifier()
Override getIdentifier to return an application-wide id.
 ID = CLASS: APPLICATION, FORM: CONSTRUCTED, TAG: 23.

Overrides:
getIdentifier in class ASN1Object

dupRequest

public final RfcRequest dupRequest(java.lang.String base,
                                   java.lang.String filter,
                                   boolean request)
                            throws LDAPException
Description copied from interface: RfcRequest
Builds a new request using the data from the this object.

Specified by:
dupRequest in interface RfcRequest
Throws:
LDAPException

getRequestDN

public final java.lang.String getRequestDN()
Description copied from interface: RfcRequest
Builds a new request using the data from the this object.

Specified by:
getRequestDN in interface RfcRequest

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000