|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.transport.http_jetty.continuations.JettyContinuationWrapper
public class JettyContinuationWrapper
Constructor Summary | |
---|---|
JettyContinuationWrapper(javax.servlet.http.HttpServletRequest request,
Message m)
|
Method Summary | |
---|---|
void |
done()
|
org.mortbay.util.ajax.Continuation |
getContinuation()
|
protected Message |
getMessage()
|
java.lang.Object |
getObject()
Get arbitrary object associated with the continuation for context |
boolean |
isNew()
Is this a newly created Continuation. |
boolean |
isPending()
Get the pending status |
boolean |
isResumed()
Get the resumed status |
void |
reset()
Reset the continuation |
void |
resume()
Resume a suspended request |
void |
setObject(java.lang.Object userObject)
Sets arbitrary object associated with the continuation for context |
boolean |
suspend(long timeout)
This method will suspend the request for the timeout or until resume is called |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JettyContinuationWrapper(javax.servlet.http.HttpServletRequest request, Message m)
Method Detail |
---|
public java.lang.Object getObject()
Continuation
getObject
in interface Continuation
public boolean isNew()
Continuation
isNew
in interface Continuation
public boolean isPending()
Continuation
isPending
in interface Continuation
public boolean isResumed()
Continuation
isResumed
in interface Continuation
public void reset()
Continuation
reset
in interface Continuation
public void resume()
Continuation
resume
in interface Continuation
public void setObject(java.lang.Object userObject)
Continuation
setObject
in interface Continuation
userObject
- An arbitrary object to associate with the continuationpublic boolean suspend(long timeout)
Continuation
suspend
in interface Continuation
public void done()
protected Message getMessage()
public org.mortbay.util.ajax.Continuation getContinuation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |