|
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.LDAPMessage
com.novell.ldap.LDAPResponse
com.novell.ldap.LDAPIntermediateResponse
public class LDAPIntermediateResponse
Encapsulates the response returned by an LDAP server on an asynchronous extended operation request. It extends LDAPResponse. The response can contain the OID of the extension, an octet string with the operation's data, both, or neither.
Field Summary | |
---|---|
private static RespExtensionSet |
registeredResponses
|
Fields inherited from class com.novell.ldap.LDAPMessage |
---|
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary | |
---|---|
LDAPIntermediateResponse(RfcLDAPMessage message)
Creates an LDAPIntermediateResponse object which encapsulates a server response to an asynchronous extended operation request. |
Method Summary | |
---|---|
java.lang.String |
getID()
Returns the message identifier of the response. |
static RespExtensionSet |
getRegisteredResponses()
|
byte[] |
getValue()
Returns the value part of the response in raw bytes. |
static void |
register(java.lang.String oid,
java.lang.Class extendedResponseClass)
Registers a class to be instantiated on receipt of a extendedresponse with the given OID. |
Methods inherited from class com.novell.ldap.LDAPResponse |
---|
chkResultCode, getActiveReferral, getControls, getErrorMessage, getException, getMatchedDN, getMessageID, getReferrals, getResultCode, getResultException, getType, hasException, setDeserializedValues |
Methods inherited from class com.novell.ldap.LDAPMessage |
---|
clone, getASN1Object, getRequestingMessage, getTag, isRequest, readDSML, readExternal, setTag, toString, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static RespExtensionSet registeredResponses
Constructor Detail |
---|
public LDAPIntermediateResponse(RfcLDAPMessage message)
message
- The RfcLDAPMessage to convert to an
LDAPIntermediateResponse object.Method Detail |
---|
public static void register(java.lang.String oid, java.lang.Class extendedResponseClass)
Any previous registration for the OID is overridden. The extendedResponseClass object MUST be an extension of LDAPIntermediateResponse.
oid
- The object identifier of the control.
extendedResponseClass
- A class which can instantiate an
LDAPIntermediateResponse.public static RespExtensionSet getRegisteredResponses()
public java.lang.String getID()
public byte[] getValue()
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |