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, toStringadd, addAll, get, getControls, getMessageId, getType, hasControl, hashCode, put, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLdapResultadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeprotected 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 InternalExtendedResponsepublic void setResponse(byte[] value)
setResponse in interface InternalExtendedResponsevalue - the response specific encoded response values.public void setOid(String oid)
public String getResponseName()
getResponseName in interface InternalExtendedResponsepublic void setResponseName(String oid)
setResponseName in interface InternalExtendedResponseoid - the OID of the extended response type.public boolean equals(Object obj)
equals in class InternalAbstractResultResponseobj - the object to be checked for equalitypublic String getID()
getID in interface ExtendedResponsepublic byte[] getEncodedValue()
getEncodedValue in interface ExtendedResponseCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.