Apache CXF API

org.apache.cxf.transport.http_jetty.continuations
Class JettyContinuationProviderFactory

java.lang.Object
  extended by org.apache.cxf.transport.http_jetty.continuations.JettyContinuationProviderFactory
All Implemented Interfaces:
ContinuationProviderFactory

public class JettyContinuationProviderFactory
extends Object
implements ContinuationProviderFactory


Constructor Summary
JettyContinuationProviderFactory()
           
 
Method Summary
 ContinuationProvider createContinuationProvider(Message inMessage, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          If this factory can support the given req/resp and provide a ContinuationProvider, it should create one and return it.
 Message retrieveFromContinuation(javax.servlet.http.HttpServletRequest req)
          If the request already has a message associated with it, return it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyContinuationProviderFactory

public JettyContinuationProviderFactory()
Method Detail

createContinuationProvider

public ContinuationProvider createContinuationProvider(Message inMessage,
                                                       javax.servlet.http.HttpServletRequest req,
                                                       javax.servlet.http.HttpServletResponse resp)
Description copied from interface: ContinuationProviderFactory
If this factory can support the given req/resp and provide a ContinuationProvider, it should create one and return it.

Specified by:
createContinuationProvider in interface ContinuationProviderFactory
Returns:

retrieveFromContinuation

public Message retrieveFromContinuation(javax.servlet.http.HttpServletRequest req)
Description copied from interface: ContinuationProviderFactory
If the request already has a message associated with it, return it

Specified by:
retrieveFromContinuation in interface ContinuationProviderFactory
Returns:

Apache CXF API

Apache CXF