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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId
protected AbstractRequest()
public long getTimeout()
getTimeout
in interface Request
public Message setTimeout(long timeout)
setTimeout
in interface Request
timeout
- The new timeout, expressed in millisecondsCopyright © 2009–2014 The Apache Software Foundation. All rights reserved.