|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractResponse
org.apache.directory.api.ldap.model.message.AbstractResultResponse
public abstract class AbstractResultResponse
Abstract base for a ResultResponse message.
| Field Summary | |
|---|---|
protected LdapResult |
ldapResult
Response result components |
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
controls |
| Constructor Summary | |
|---|---|
protected |
AbstractResultResponse(int id,
MessageTypeEnum type)
Allows subclasses based on the abstract type to create a response to a request. |
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
| Field Detail |
|---|
protected LdapResult ldapResult
| Constructor Detail |
|---|
protected AbstractResultResponse(int id,
MessageTypeEnum type)
id - the response eliciting this Requesttype - the message type of the response| Method Detail |
|---|
public LdapResult getLdapResult()
getLdapResult in interface ResultResponsepublic int hashCode()
hashCode in class AbstractMessageObject.hashCode()public boolean equals(Object obj)
equals in class AbstractMessageobj - the object to compare to this LdapResult containing response
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||