public abstract class AbstractAbandonableRequest extends AbstractRequest implements AbandonableRequest
Modifier and Type | Method and Description |
---|---|
void |
abandon()
Abandons this request.
|
AbandonableRequest |
addAbandonListener(AbandonListener listener)
Adds listener to be notified if this request gets abandoned.
|
boolean |
isAbandoned()
Checks to see if this request has been abandoned.
|
equals, hashCode, hasResponse
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
getClass, notify, notifyAll, toString, wait, wait, wait
hasResponse
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public void abandon()
abandon
in interface AbandonableRequest
public boolean isAbandoned()
isAbandoned
in interface AbandonableRequest
public AbandonableRequest addAbandonListener(AbandonListener listener)
addAbandonListener
in interface AbandonableRequest
listener
- to be notified if this request gets abandoned.Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.