public class ExtendedResponseImpl extends InternalAbstractResultResponse implements InternalExtendedResponse
Modifier and Type | Field and Description |
---|---|
protected String |
oid
Object identifier for the extended response
|
protected byte[] |
value
Values encoded in the extended response payload
|
TYPE
Constructor and Description |
---|
ExtendedResponseImpl(int id) |
ExtendedResponseImpl(int id,
String oid)
Creates a Lockable ExtendedResponse as a reply to an ExtendedRequest.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.
|
byte[] |
getEncodedValue() |
String |
getID() |
byte[] |
getResponse()
Gets the reponse OID specific encoded response values.
|
String |
getResponseName()
Gets the OID uniquely identifying this extended response (a.k.a.
|
void |
setOid(String oid) |
void |
setResponse(byte[] value)
Sets the response OID specific encoded response values.
|
void |
setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a.
|
getLdapResult, toString
add, addAll, get, getControls, getMessageId, getType, hasControl, hashCode, put, remove
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLdapResult
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
protected String oid
protected byte[] value
public ExtendedResponseImpl(int id, String oid)
id
- the session unique message idpublic ExtendedResponseImpl(int id)
public byte[] getResponse()
getResponse
in interface InternalExtendedResponse
public void setResponse(byte[] value)
setResponse
in interface InternalExtendedResponse
value
- the response specific encoded response values.public void setOid(String oid)
public String getResponseName()
getResponseName
in interface InternalExtendedResponse
public void setResponseName(String oid)
setResponseName
in interface InternalExtendedResponse
oid
- the OID of the extended response type.public boolean equals(Object obj)
equals
in class InternalAbstractResultResponse
obj
- the object to be checked for equalitypublic String getID()
getID
in interface ExtendedResponse
public byte[] getEncodedValue()
getEncodedValue
in interface ExtendedResponse
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.