Package org.eclipse.jetty.continuation
Class ContinuationSupport
- java.lang.Object
-
- org.eclipse.jetty.continuation.ContinuationSupport
-
@Deprecated public class ContinuationSupport extends java.lang.ObjectDeprecated.use Servlet 3.0AsyncContextinsteadContinuationSupport. Factory class for accessing Continuation instances, which with either be a servlet 3.0 or a faux continuation.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.reflect.Constructor<? extends Continuation>__newServlet3ContinuationDeprecated.(package private) static boolean__servlet3Deprecated.(package private) static java.lang.Class<?>__waitingContinuationDeprecated.
-
Constructor Summary
Constructors Constructor Description ContinuationSupport()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ContinuationgetContinuation(javax.servlet.ServletRequest request)Deprecated.Get a Continuation.static ContinuationgetContinuation(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)Deprecated.
-
-
-
Field Detail
-
__servlet3
static final boolean __servlet3
Deprecated.
-
__waitingContinuation
static final java.lang.Class<?> __waitingContinuation
Deprecated.
-
__newServlet3Continuation
static final java.lang.reflect.Constructor<? extends Continuation> __newServlet3Continuation
Deprecated.
-
-
Method Detail
-
getContinuation
public static Continuation getContinuation(javax.servlet.ServletRequest request)
Deprecated.Get a Continuation. The type of the Continuation returned may vary depending on the container in which the application is deployed. It may be an implementation native to the container (eg org.eclipse.jetty.server.AsyncContinuation) or one of the utility implementations provided such as an internalFauxContinuationor a real implementation likeServlet3Continuation.- Parameters:
request- The request- Returns:
- a Continuation instance
-
getContinuation
@Deprecated public static Continuation getContinuation(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
Deprecated.- Parameters:
request- the servlet requestresponse- the servlet response- Returns:
- the continuation
-
-