com.novell.ldap.client
Class IntermediateResponseFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntermediateResponseFactory
public IntermediateResponseFactory()
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.
Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000