public class AbstractRequest extends AbstractMessage implements Request
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRequest()
Creates a new instance of AbstractRequest.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getTimeout()
Get the client message timeout.
|
Message |
setTimeout(long timeout)
Set a request client timeout.
|
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, getControl, getControls, getMessageId, hasControl, remove, setMessageIdprotected AbstractRequest()
public long getTimeout()
getTimeout in interface Requestpublic Message setTimeout(long timeout)
setTimeout in interface Requesttimeout - The new timeout, expressed in millisecondsCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.