@Override
public void complete() {
// TODO SERVLET3 - async
-
doInternalComplete(false);
-
}
@Override
public void dispatch() {
// TODO SERVLET3 - async
-
}
@Override
Runnable run = new Runnable() {
public void run() {
try {
+ //piggy back on the request dispatcher to ensure that filters etc get called.
+ //TODO SERVLET3 - async should this be include/forward or a new dispatch type
requestDispatcher.include(servletRequest, servletResponse);
}catch (Exception x) {
//log.error("Async.dispatch",x);
}
};
this.dispatch = run;
- request.coyoteRequest.action(ActionCode.ACTION_ASYNC_DISPATCH, run );
+ request.coyoteRequest.action(ActionCode.ACTION_ASYNC_DISPATCH, null );
}
@Override
try {
SystemLogHandler.startCapture();
if (request.isAsyncStarted()) {
- ((AsyncContextImpl)request.getAsyncContext()).doInternalDispatch();
+ //TODO SERVLET3 - async
+ ((AsyncContextImpl)request.getAsyncContext()).doInternalDispatch();
} else if (comet) {
filterChain.doFilterEvent(request.getEvent());
request.setComet(true);
}
} else {
if (request.isAsyncStarted()) {
+ //TODO SERVLET3 - async
((AsyncContextImpl)request.getAsyncContext()).doInternalDispatch();
} else if (comet) {
request.setComet(true);