Class CompareResponseImpl
- java.lang.Object
-
- org.apache.directory.api.ldap.model.message.AbstractMessage
-
- org.apache.directory.api.ldap.model.message.AbstractResponse
-
- org.apache.directory.api.ldap.model.message.AbstractResultResponse
-
- org.apache.directory.api.ldap.model.message.CompareResponseImpl
-
- All Implemented Interfaces:
CompareResponse
,Message
,Response
,ResultResponse
- Direct Known Subclasses:
CompareNoDResponse
public class CompareResponseImpl extends AbstractResultResponse implements CompareResponse
CompareResponse implementation.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description CompareResponseImpl()
Creates a CompareResponse as a reply to an CompareRequest.CompareResponseImpl(int id)
Creates a CompareResponse as a reply to an CompareRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTrue()
String
toString()
Get a String representation of an CompareResponse-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
equals, getLdapResult, hashCode
-
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 interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Constructor Detail
-
CompareResponseImpl
public CompareResponseImpl()
Creates a CompareResponse as a reply to an CompareRequest.
-
CompareResponseImpl
public CompareResponseImpl(int id)
Creates a CompareResponse as a reply to an CompareRequest.- Parameters:
id
- the session unique message id
-
-
Method Detail
-
isTrue
public boolean isTrue()
- Specified by:
isTrue
in interfaceCompareResponse
- Returns:
- true if the compare response is TRUE, false otherwise
-
toString
public String toString()
Get a String representation of an CompareResponse- Overrides:
toString
in classAbstractResultResponse
- Returns:
- An CompareResponse String
-
-