com.novell.ldap.rfc2251
Class RfcControls
java.lang.Object
com.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Structured
com.novell.ldap.asn1.ASN1SequenceOf
com.novell.ldap.rfc2251.RfcControls
- All Implemented Interfaces:
- java.io.Serializable
- public class RfcControls
- extends ASN1SequenceOf
Represents LDAP Contreols.
Controls ::= SEQUENCE OF Control
- See Also:
- Serialized Form
Field Summary |
static int |
CONTROLS
Controls context specific tag |
Fields inherited from class com.novell.ldap.asn1.ASN1Object |
|
Constructor Summary |
RfcControls()
Constructs a Controls object. |
RfcControls(ASN1Decoder dec,
java.io.InputStream in,
int len)
Constructs a Controls object by decoding it from an InputStream. |
Method Summary |
void |
add(RfcControl control)
Override add() of ASN1SequenceOf to only accept a Control type. |
ASN1Identifier |
getIdentifier()
Override getIdentifier to return a context specific id. |
void |
set(int index,
RfcControl control)
Override set() of ASN1SequenceOf to only accept a Control type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CONTROLS
public static final int CONTROLS
- Controls context specific tag
- See Also:
- Constant Field Values
RfcControls
public RfcControls()
- Constructs a Controls object. This constructor is used in combination
with the add() method to construct a set of Controls to send to the
server.
RfcControls
public RfcControls(ASN1Decoder dec,
java.io.InputStream in,
int len)
throws java.io.IOException
- Constructs a Controls object by decoding it from an InputStream.
add
public final void add(RfcControl control)
- Override add() of ASN1SequenceOf to only accept a Control type.
set
public final void set(int index,
RfcControl control)
- Override set() of ASN1SequenceOf to only accept a Control type.
getIdentifier
public final ASN1Identifier getIdentifier()
- Override getIdentifier to return a context specific id.
- Overrides:
getIdentifier
in class ASN1Object
Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000