All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcReferral

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1Structured
          extended by com.novell.ldap.asn1.ASN1SequenceOf
              extended by com.novell.ldap.rfc2251.RfcReferral
All Implemented Interfaces:
java.io.Serializable

public class RfcReferral
extends ASN1SequenceOf

Represents an LDAP Referral.

        Referral ::= SEQUENCE OF LDAPURL

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.ldap.asn1.ASN1SequenceOf
ID, TAG
 
Constructor Summary
RfcReferral(ASN1Decoder dec, java.io.InputStream in, int len)
          The only time a Referral object is constructed, is when we are decoding an RfcLDAPResult or COMPONENTS OF RfcLDAPResult.
RfcReferral(java.lang.String[] value)
          This construtor is used when creating LDAPResponse directly and not from the stream.
 
Method Summary
 
Methods inherited from class com.novell.ldap.asn1.ASN1SequenceOf
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, getIdentifier, setIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RfcReferral

public RfcReferral(ASN1Decoder dec,
                   java.io.InputStream in,
                   int len)
            throws java.io.IOException
The only time a Referral object is constructed, is when we are decoding an RfcLDAPResult or COMPONENTS OF RfcLDAPResult.

Throws:
java.io.IOException

RfcReferral

public RfcReferral(java.lang.String[] value)
            throws java.net.MalformedURLException
This construtor is used when creating LDAPResponse directly and not from the stream.

Parameters:
value - This array of Referrals [LDAPURL]
Throws:
java.net.MalformedURLException - Note:Limitation The ldapurl specified to this constructor should have a dn part to it i.e ldap://www.nldap.com/cn=admin,o=acme is allowed but ldap://www.nldap.com is not allowed.

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