THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Continuations
{span:style=font-size:2em;font-weight:bold} Continuations {span} Wiki Markup
Table of Contents |
---|
Continuations API
...
The provider and continuations can be obtained from the current CXF message like this:
Code Block | ||||
---|---|---|---|---|
| ||||
import org.apache.cxf.continuations.ContinuationProvider;
import org.apache.cxf.continuations.Continuation;
ContinuationProvider provider = (ContinuationProvider)message.get(ContinuationProvider.class.getName())
Continuation continuation = provider.getContinuation();
|
...
Advanced custom CXF interceptors can suspend the incoming requests and resume them when needed.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
//TODO
|
Enabling HTTP continuations
...