org.atmosphere.plugin.jaxrs
Class AtmosphereExecutionContext
java.lang.Object
org.atmosphere.plugin.jaxrs.AtmosphereExecutionContext
- All Implemented Interfaces:
- javax.ws.rs.core.ExecutionContext
public class AtmosphereExecutionContext
- extends Object
- implements javax.ws.rs.core.ExecutionContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereExecutionContext
public AtmosphereExecutionContext(AtmosphereResourceImpl r)
resume
public void resume(Object response)
throws IllegalStateException
-
- Specified by:
resume in interface javax.ws.rs.core.ExecutionContext
- Throws:
IllegalStateException
resume
public void resume(Exception response)
throws IllegalStateException
-
- Specified by:
resume in interface javax.ws.rs.core.ExecutionContext
- Throws:
IllegalStateException
suspend
public void suspend()
throws IllegalStateException
-
- Specified by:
suspend in interface javax.ws.rs.core.ExecutionContext
- Throws:
IllegalStateException
suspend
public void suspend(long millis)
throws IllegalStateException
-
- Specified by:
suspend in interface javax.ws.rs.core.ExecutionContext
- Throws:
IllegalStateException
suspend
public void suspend(long time,
TimeUnit unit)
throws IllegalStateException
- Specified by:
suspend in interface javax.ws.rs.core.ExecutionContext
- Throws:
IllegalStateException
setSuspendTimeout
public void setSuspendTimeout(long time,
TimeUnit unit)
throws IllegalStateException
-
- Specified by:
setSuspendTimeout in interface javax.ws.rs.core.ExecutionContext
- Throws:
IllegalStateException
cancel
public void cancel()
-
- Specified by:
cancel in interface javax.ws.rs.core.ExecutionContext
isSuspended
public boolean isSuspended()
-
- Specified by:
isSuspended in interface javax.ws.rs.core.ExecutionContext
isCancelled
public boolean isCancelled()
-
- Specified by:
isCancelled in interface javax.ws.rs.core.ExecutionContext
isDone
public boolean isDone()
-
- Specified by:
isDone in interface javax.ws.rs.core.ExecutionContext
setResponse
public void setResponse(Object response)
-
- Specified by:
setResponse in interface javax.ws.rs.core.ExecutionContext
getResponse
public javax.ws.rs.core.Response getResponse()
-
- Specified by:
getResponse in interface javax.ws.rs.core.ExecutionContext
Copyright © 2012. All Rights Reserved.