|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.transport.http.Servlet3ContinuationProvider.Servlet3Continuation
public class Servlet3ContinuationProvider.Servlet3Continuation
| Constructor Summary | |
|---|---|
Servlet3ContinuationProvider.Servlet3Continuation()
|
|
| Method Summary | |
|---|---|
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 |
onComplete(AsyncEvent event)
|
void |
onError(AsyncEvent event)
|
void |
onStartAsync(AsyncEvent event)
|
void |
onTimeout(AsyncEvent event)
|
void |
redispatch()
|
void |
reset()
Reset the continuation |
void |
resume()
Resume a suspended request |
void |
setObject(Object o)
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 Servlet3ContinuationProvider.Servlet3Continuation()
| Method Detail |
|---|
public boolean suspend(long timeout)
Continuation
suspend in interface Continuationtimeout - A timeout of < 0 will cause an immediate return.
A timeout of 0 will wait indefinitely.
public void redispatch()
public void resume()
Continuation
resume in interface Continuationpublic void reset()
Continuation
reset in interface Continuationpublic boolean isNew()
Continuation
isNew in interface Continuationpublic boolean isPending()
Continuation
isPending in interface Continuationpublic boolean isResumed()
Continuation
isResumed in interface Continuationpublic Object getObject()
Continuation
getObject in interface Continuationpublic void setObject(Object o)
Continuation
setObject in interface Continuationo - An arbitrary object to associate with the continuation
public void onComplete(AsyncEvent event)
throws IOException
IOException
public void onError(AsyncEvent event)
throws IOException
IOException
public void onStartAsync(AsyncEvent event)
throws IOException
IOException
public void onTimeout(AsyncEvent event)
throws IOException
IOException
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||