public class DeleteRequestImpl extends AbstractAbandonableRequest implements DeleteRequest
AbstractAbandonableRequest.RequestObservable| Modifier and Type | Field and Description |
|---|---|
private Dn |
name
The distinguished name of the entry to delete
|
private DeleteResponse |
response
The deleteResponse associated with this request
|
(package private) static long |
serialVersionUID |
controls| 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, isAbandonedhasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseget, getControl, getControls, getMessageId, getType, hasControl, putabandon, addAbandonListener, isAbandonedstatic final long serialVersionUID
private Dn name
private DeleteResponse response
public DeleteRequestImpl()
public Dn getName()
getName in interface DeleteRequestpublic DeleteRequest setName(Dn name)
setName in interface DeleteRequestname - the Dn of the leaf entry to delete.public DeleteRequest setMessageId(int messageId)
setMessageId in interface DeleteRequestsetMessageId in interface MessagesetMessageId in class AbstractMessagemessageId - The message Idpublic DeleteRequest addControl(Control control)
addControl in interface DeleteRequestaddControl in interface MessageaddControl in class AbstractMessagecontrol - the control to add.public DeleteRequest addAllControls(Control[] controls)
addAllControls in interface DeleteRequestaddAllControls in interface MessageaddAllControls in class AbstractMessagecontrols - the controls to add.public DeleteRequest removeControl(Control control)
removeControl in interface DeleteRequestremoveControl in interface MessageremoveControl in class AbstractMessagecontrol - the control to remove.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic DeleteResponse getResultResponse()
getResultResponse in interface ResultResponseRequestpublic int hashCode()
hashCode in class AbstractRequestObject.hashCode()public boolean equals(Object obj)
equals in class AbstractRequestobj - the object to test for equality to thisCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.