public class DeleteRequestImpl extends AbstractAbandonableRequest implements DeleteRequest
Constructor and Description |
---|
DeleteRequestImpl()
Creates a DeleteRequest implementing object used to delete a
leaf entry from the DIT.
|
Modifier and Type | Method and Description |
---|---|
DeleteRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
DeleteRequest |
addControl(Control control)
Adds a control to this Message.
|
boolean |
equals(Object obj)
Checks to see if an object is equivalent to this DeleteRequest.
|
Dn |
getName()
Gets the distinguished name of the leaf entry to be deleted by this
request.
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
DeleteResponse |
getResultResponse()
The result containing response for this request.
|
int |
hashCode() |
DeleteRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
DeleteRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
DeleteRequest |
setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this
request.
|
String |
toString()
Return a String representing a DelRequest
|
abandon, addAbandonListener, isAbandoned
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
abandon, addAbandonListener, isAbandoned
public DeleteRequestImpl()
public Dn getName()
getName
in interface DeleteRequest
public DeleteRequest setName(Dn name)
setName
in interface DeleteRequest
name
- the Dn of the leaf entry to delete.public DeleteRequest setMessageId(int messageId)
setMessageId
in interface DeleteRequest
setMessageId
in interface Message
setMessageId
in class AbstractMessage
messageId
- The message Idpublic DeleteRequest addControl(Control control)
addControl
in interface DeleteRequest
addControl
in interface Message
addControl
in class AbstractMessage
control
- the control to add.public DeleteRequest addAllControls(Control[] controls)
addAllControls
in interface DeleteRequest
addAllControls
in interface Message
addAllControls
in class AbstractMessage
controls
- the controls to add.public DeleteRequest removeControl(Control control)
removeControl
in interface DeleteRequest
removeControl
in interface Message
removeControl
in class AbstractMessage
control
- the control to remove.public MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public DeleteResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
public int hashCode()
hashCode
in class AbstractRequest
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractRequest
obj
- the object to test for equality to thisCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.