public abstract class AbstractExtendedResponse extends AbstractResultResponse implements ExtendedResponse
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
|
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
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 ExtendedResponse
public void setResponseName(String responseName)
setResponseName
in interface ExtendedResponse
responseName
- the OID of the extended response type.public int hashCode()
hashCode
in class AbstractResultResponse
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractResultResponse
obj
- the object to be checked for equalitypublic String toString()
toString
in class AbstractResultResponse
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.