org.apache.directory.shared.ldap.message
Class IntermediateResponseImpl

java.lang.Object
  extended by org.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
      extended by org.apache.directory.shared.ldap.message.internal.InternalAbstractResponse
          extended by org.apache.directory.shared.ldap.message.internal.InternalAbstractResultResponse
              extended by org.apache.directory.shared.ldap.message.IntermediateResponseImpl
All Implemented Interfaces:
InternalIntermediateResponse, InternalMessage, InternalResponse, InternalResultResponse

public class IntermediateResponseImpl
extends InternalAbstractResultResponse
implements InternalIntermediateResponse

IntermediateResponse implementation

Version:
$Rev: 905344 $
Author:
Apache Directory Project

Field Summary
protected  java.lang.String oid
          ResponseName for the intermediate response
protected  byte[] value
          Response Value for the intermediate response
 
Fields inherited from interface org.apache.directory.shared.ldap.message.internal.InternalIntermediateResponse
TYPE
 
Constructor Summary
IntermediateResponseImpl(int id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Checks to see if an object equals this IntemediateResponse.
 java.lang.String getResponseName()
          Gets the OID uniquely identifying this Intemediate response (a.k.a.
 byte[] getResponseValue()
          Gets the reponseName specific encoded
 void setResponseName(java.lang.String oid)
          Sets the OID uniquely identifying this Intemediate response (a.k.a.
 void setResponseValue(byte[] value)
          Sets the response value
 
Methods inherited from class org.apache.directory.shared.ldap.message.internal.InternalAbstractResultResponse
getLdapResult, toString
 
Methods inherited from class org.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
add, addAll, get, getControls, getMessageId, getType, hasControl, hashCode, put, remove
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalMessage
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
 

Field Detail

oid

protected java.lang.String oid
ResponseName for the intermediate response


value

protected byte[] value
Response Value for the intermediate response

Constructor Detail

IntermediateResponseImpl

public IntermediateResponseImpl(int id)
Method Detail

getResponseValue

public byte[] getResponseValue()
Gets the reponseName specific encoded

Specified by:
getResponseValue in interface InternalIntermediateResponse
Returns:
the response value

setResponseValue

public void setResponseValue(byte[] value)
Sets the response value

Specified by:
setResponseValue in interface InternalIntermediateResponse
Parameters:
value - the response value.

getResponseName

public java.lang.String getResponseName()
Gets the OID uniquely identifying this Intemediate response (a.k.a. its name).

Specified by:
getResponseName in interface InternalIntermediateResponse
Returns:
the OID of the Intemediate response type.

setResponseName

public void setResponseName(java.lang.String oid)
Sets the OID uniquely identifying this Intemediate response (a.k.a. its name).

Specified by:
setResponseName in interface InternalIntermediateResponse
Parameters:
oid - the OID of the Intemediate response type.

equals

public boolean equals(java.lang.Object obj)
Checks to see if an object equals this IntemediateResponse.

Overrides:
equals in class InternalAbstractResultResponse
Parameters:
obj - the object to be checked for equality
Returns:
true if the obj equals this IntemediateResponse, false otherwise


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.