|
All LDAP Classes Internal LDAP Classes |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Structured
com.novell.ldap.asn1.ASN1Sequence
com.novell.ldap.rfc2251.RfcExtendedResponse
public class RfcExtendedResponse
Represents an LDAP Extended Response.
ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
COMPONENTS OF LDAPResult,
responseName [10] LDAPOID OPTIONAL,
response [11] OCTET STRING OPTIONAL }
| Field Summary | |
|---|---|
private int |
referralIndex
|
static int |
RESPONSE
Context-specific TAG for optional response. |
static int |
RESPONSE_NAME
Context-specific TAG for optional responseName. |
private int |
responseIndex
|
private int |
responseNameIndex
|
| Fields inherited from class com.novell.ldap.asn1.ASN1Sequence |
|---|
TAG |
| Constructor Summary | |
|---|---|
RfcExtendedResponse(ASN1Decoder dec,
java.io.InputStream in,
int len)
The only time a client will create a ExtendedResponse is when it is decoding it from an InputStream |
|
RfcExtendedResponse(ASN1Enumerated resultCode,
RfcLDAPDN matchedDN,
RfcLDAPString errorMessage,
RfcReferral referral,
RfcLDAPOID responseName,
ASN1OctetString response)
Creates the RFC Extended Response Object passing the individual parameters. |
|
| Method Summary | |
|---|---|
RfcLDAPString |
getErrorMessage()
|
ASN1Identifier |
getIdentifier()
Override getIdentifier to return an application-wide id. |
RfcLDAPDN |
getMatchedDN()
|
RfcReferral |
getReferral()
|
ASN1OctetString |
getResponse()
|
RfcLDAPOID |
getResponseName()
|
ASN1Enumerated |
getResultCode()
|
| 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 |
|---|
public static final int RESPONSE_NAME
public static final int RESPONSE
private int referralIndex
private int responseNameIndex
private int responseIndex
| Constructor Detail |
|---|
public RfcExtendedResponse(ASN1Enumerated resultCode,
RfcLDAPDN matchedDN,
RfcLDAPString errorMessage,
RfcReferral referral,
RfcLDAPOID responseName,
ASN1OctetString response)
resultCode - The result code as defined in LDAPException.matchedDN - The name of the lowest entry that was matched
for some error result codes, an empty string
or null if none.errorMessage - A diagnostic message returned by the server,
an empty string or null if none.referral - The referral URLs returned for a REFERRAL result
code or null if none.responseName - The LDAPOID for this extended operationresponse - Any Response returned by the server
public RfcExtendedResponse(ASN1Decoder dec,
java.io.InputStream in,
int len)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public final ASN1Enumerated getResultCode()
getResultCode in interface RfcResponsepublic final RfcLDAPDN getMatchedDN()
getMatchedDN in interface RfcResponsepublic final RfcLDAPString getErrorMessage()
getErrorMessage in interface RfcResponsepublic final RfcReferral getReferral()
getReferral in interface RfcResponsepublic final RfcLDAPOID getResponseName()
public final ASN1OctetString getResponse()
public final ASN1Identifier getIdentifier()
getIdentifier in class ASN1Object
|
All LDAP Classes Internal LDAP Classes |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||