org.eclipse.jetty.continuation
类 ContinuationSupport

java.lang.Object
  继承者 org.eclipse.jetty.continuation.ContinuationSupport

public class ContinuationSupport
extends Object

ContinuationSupport. Factory class for accessing Continuation instances, which with either be native to the container (jetty >= 6), a servlet 3.0 or a faux continuation.


构造方法摘要
ContinuationSupport()
           
 
方法摘要
static Continuation getContinuation(ServletRequest request)
          Get a Continuation.
static Continuation getContinuation(ServletRequest request, ServletResponse response)
          已过时。 use getContinuation(ServletRequest)
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ContinuationSupport

public ContinuationSupport()
方法详细信息

getContinuation

public static Continuation getContinuation(ServletRequest request)
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 internal FauxContinuation or a real implementation like Servlet3Continuation.

参数:
request - The request
返回:
a Continuation instance

getContinuation

@Deprecated
public static Continuation getContinuation(ServletRequest request,
                                                      ServletResponse response)
已过时。 use getContinuation(ServletRequest)

参数:
request - the servlet request
response - the servlet response
返回:
the continuation


Copyright © 2013. All Rights Reserved.