org.apache.directory.shared.ldap.extras.extended
Class CancelResponseImpl
java.lang.Object
org.apache.directory.shared.ldap.model.message.AbstractMessage
org.apache.directory.shared.ldap.model.message.AbstractResponse
org.apache.directory.shared.ldap.model.message.AbstractResultResponse
org.apache.directory.shared.ldap.model.message.ExtendedResponseImpl
org.apache.directory.shared.ldap.extras.extended.CancelResponseImpl
- All Implemented Interfaces:
- CancelResponse, ExtendedResponse, Message, Response, ResultResponse
public class CancelResponseImpl
- extends ExtendedResponseImpl
- implements CancelResponse
The response sent back from the server after the Cancel extended operation is performed.
- Author:
- Apache Directory Project
| Fields inherited from interface org.apache.directory.shared.ldap.model.message.ExtendedResponse |
TYPE |
| Methods inherited from class org.apache.directory.shared.ldap.model.message.AbstractMessage |
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.Message |
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
CancelResponseImpl
public CancelResponseImpl(int messageId,
ResultCodeEnum rcode)
- Create a new CancelResponse object
- Parameters:
messageId - The messageIdrcode - the result code
CancelResponseImpl
public CancelResponseImpl(int messageId)
CancelResponseImpl
public CancelResponseImpl()
getResponseName
public String getResponseName()
- Gets the OID uniquely identifying this extended response (a.k.a. its
name). It's a null value for the Cancel response
- Specified by:
getResponseName in interface ExtendedResponse- Overrides:
getResponseName in class ExtendedResponseImpl
- Returns:
- the OID of the extended response type.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class ExtendedResponseImpl
equals
public boolean equals(Object obj)
- Overrides:
equals in class ExtendedResponseImpl
- See Also:
Object.equals(Object)
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.