All LDAP Classes
Internal LDAP Classes

com.novell.ldap.client
Class IntermediateResponseFactory

java.lang.Object
  extended by com.novell.ldap.client.IntermediateResponseFactory

public class IntermediateResponseFactory
extends java.lang.Object

Takes an LDAPIntermediateResponse and returns an object (that implements the base class LDAPIntermediateResponse) based on the OID.

You can then call methods defined in the child class to parse the contents of the response. The methods available depend on the child class. All child classes inherit from the LDAPIntermediateResponse.


Constructor Summary
IntermediateResponseFactory()
           
 
Method Summary
static LDAPIntermediateResponse convertToIntermediateResponse(RfcLDAPMessage inResponse)
          Used to Convert an RfcLDAPMessage object to the appropriate LDAPIntermediateResponse object depending on the operation being performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntermediateResponseFactory

public IntermediateResponseFactory()
Method Detail

convertToIntermediateResponse

public static LDAPIntermediateResponse convertToIntermediateResponse(RfcLDAPMessage inResponse)
                                                              throws LDAPException
Used to Convert an RfcLDAPMessage object to the appropriate LDAPIntermediateResponse object depending on the operation being performed.

Parameters:
inResponse - The LDAPIntermediateResponse object as returned by the extendedOperation method in the LDAPConnection object.

Returns:
An object of base class LDAPIntermediateResponse. The actual child class of this returned object depends on the operation being performed.
Throws:
LDAPException - A general exception which includes an error message and an LDAP error code.

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