Package org.apache.cxf.transport.http
Class Servlet3ContinuationProvider.Servlet3Continuation
- java.lang.Object
-
- org.apache.cxf.transport.http.Servlet3ContinuationProvider.Servlet3Continuation
-
- All Implemented Interfaces:
EventListener,javax.servlet.AsyncListener,org.apache.cxf.continuations.Continuation
- Direct Known Subclasses:
Servlet3ContinuationProvider.Servlet31Continuation
- Enclosing class:
- Servlet3ContinuationProvider
public class Servlet3ContinuationProvider.Servlet3Continuation extends Object implements org.apache.cxf.continuations.Continuation, javax.servlet.AsyncListener
-
-
Constructor Summary
Constructors Constructor Description Servlet3Continuation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetObject()protected javax.servlet.ServletOutputStreamgetOutputStream()booleanisNew()booleanisPending()booleanisReadyForWrite()booleanisResumed()booleanisTimeout()voidonComplete(javax.servlet.AsyncEvent event)voidonError(javax.servlet.AsyncEvent event)voidonStartAsync(javax.servlet.AsyncEvent event)voidonTimeout(javax.servlet.AsyncEvent event)voidredispatch()voidreset()voidresume()voidsetObject(Object o)booleansuspend(long timeout)protected voidupdateMessageForSuspend()
-
-
-
Method Detail
-
suspend
public boolean suspend(long timeout)
- Specified by:
suspendin interfaceorg.apache.cxf.continuations.Continuation
-
updateMessageForSuspend
protected void updateMessageForSuspend()
-
redispatch
public void redispatch()
-
resume
public void resume()
- Specified by:
resumein interfaceorg.apache.cxf.continuations.Continuation
-
reset
public void reset()
- Specified by:
resetin interfaceorg.apache.cxf.continuations.Continuation
-
isNew
public boolean isNew()
- Specified by:
isNewin interfaceorg.apache.cxf.continuations.Continuation
-
isPending
public boolean isPending()
- Specified by:
isPendingin interfaceorg.apache.cxf.continuations.Continuation
-
isResumed
public boolean isResumed()
- Specified by:
isResumedin interfaceorg.apache.cxf.continuations.Continuation
-
getObject
public Object getObject()
- Specified by:
getObjectin interfaceorg.apache.cxf.continuations.Continuation
-
setObject
public void setObject(Object o)
- Specified by:
setObjectin interfaceorg.apache.cxf.continuations.Continuation
-
onComplete
public void onComplete(javax.servlet.AsyncEvent event) throws IOException- Specified by:
onCompletein interfacejavax.servlet.AsyncListener- Throws:
IOException
-
onError
public void onError(javax.servlet.AsyncEvent event) throws IOException- Specified by:
onErrorin interfacejavax.servlet.AsyncListener- Throws:
IOException
-
onStartAsync
public void onStartAsync(javax.servlet.AsyncEvent event) throws IOException- Specified by:
onStartAsyncin interfacejavax.servlet.AsyncListener- Throws:
IOException
-
onTimeout
public void onTimeout(javax.servlet.AsyncEvent event) throws IOException- Specified by:
onTimeoutin interfacejavax.servlet.AsyncListener- Throws:
IOException
-
isReadyForWrite
public boolean isReadyForWrite()
- Specified by:
isReadyForWritein interfaceorg.apache.cxf.continuations.Continuation
-
getOutputStream
protected javax.servlet.ServletOutputStream getOutputStream()
-
isTimeout
public boolean isTimeout()
- Specified by:
isTimeoutin interfaceorg.apache.cxf.continuations.Continuation
-
-