public abstract class AbstractExtendedResponse extends AbstractResultResponse implements ExtendedResponse
| Modifier and Type | Field and Description |
|---|---|
protected String |
responseName
Object identifier for the extended response
|
(package private) static long |
serialVersionUID |
private static MessageTypeEnum |
TYPE
Extended response message type enumeration value
|
ldapResultcontrols| Constructor and Description |
|---|
AbstractExtendedResponse(int id)
Creates an ExtendedResponse as a reply to an ExtendedRequest.
|
AbstractExtendedResponse(int id,
String responseName)
Creates an ExtendedResponse as a reply to an ExtendedRequest.
|
AbstractExtendedResponse(String responseName)
Creates an 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.
|
String |
getResponseName()
Gets the OID uniquely identifying this extended response (a.k.a.
|
int |
hashCode() |
void |
setResponseName(String responseName)
Sets the OID uniquely identifying this extended response (a.k.a.
|
String |
toString()
Get a String representation of an ExtendedResponse
|
getLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdstatic final long serialVersionUID
protected String responseName
private static final MessageTypeEnum TYPE
public AbstractExtendedResponse(String responseName)
responseName - the ExtendedResponse's namepublic AbstractExtendedResponse(int id,
String responseName)
id - the session unique message idresponseName - the ExtendedResponse's namepublic AbstractExtendedResponse(int id)
id - the session unique message idpublic String getResponseName()
getResponseName in interface ExtendedResponsepublic void setResponseName(String responseName)
setResponseName in interface ExtendedResponseresponseName - the OID of the extended response type.public int hashCode()
hashCode in class AbstractResultResponseObject.hashCode()public boolean equals(Object obj)
equals in class AbstractResultResponseobj - the object to be checked for equalitypublic String toString()
toString in class AbstractResultResponseCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.