public abstract class AbstractResultResponse extends AbstractResponse implements ResultResponse
Modifier and Type | Field and Description |
---|---|
protected LdapResult |
ldapResult
Response result components
|
controls
Modifier | Constructor and Description |
---|---|
protected |
AbstractResultResponse(int id,
MessageTypeEnum type)
Allows subclasses based on the abstract type to create a response to a
request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks to see if an object is equal to this AbstractResultResponse.
|
LdapResult |
getLdapResult()
Gets the LdapResult components of this Response.
|
int |
hashCode() |
String |
toString()
Get a String representation of an Response
|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
protected LdapResult ldapResult
protected AbstractResultResponse(int id, MessageTypeEnum type)
id
- the response eliciting this Requesttype
- the message type of the responsepublic LdapResult getLdapResult()
getLdapResult
in interface ResultResponse
public int hashCode()
hashCode
in class AbstractMessage
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractMessage
obj
- the object to compare to this LdapResult containing responseCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.