public class ExtendedResponseImpl extends AbstractResultResponse implements ExtendedResponse
Modifier and Type | Field and Description |
---|---|
protected String |
responseName
Object identifier for the extended response
|
ldapResult
controls
TYPE
Constructor and Description |
---|
ExtendedResponseImpl(int id)
Creates an ExtendedResponse as a reply to an ExtendedRequest.
|
ExtendedResponseImpl(int id,
String responseName)
Creates an ExtendedResponse as a reply to an ExtendedRequest.
|
ExtendedResponseImpl(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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
protected String responseName
public ExtendedResponseImpl(String responseName)
responseName
- the ExtendedResponse's namepublic ExtendedResponseImpl(int id, String responseName)
id
- the session unique message idresponseName
- the ExtendedResponse's namepublic ExtendedResponseImpl(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–2014 The Apache Software Foundation. All rights reserved.