Lines 111-116
Link Here
|
111 |
} finally { |
111 |
} finally { |
112 |
context.fireRequestDestroyEvent(request.getRequest()); |
112 |
context.fireRequestDestroyEvent(request.getRequest()); |
113 |
clearServletRequestResponse(); |
113 |
clearServletRequestResponse(); |
|
|
114 |
this.context.decrementInProgressAsyncCount(); |
114 |
context.unbind(Globals.IS_SECURITY_ENABLED, oldCL); |
115 |
context.unbind(Globals.IS_SECURITY_ENABLED, oldCL); |
115 |
} |
116 |
} |
116 |
} |
117 |
} |
Lines 205-210
Link Here
|
205 |
request, applicationDispatcher, servletRequest, servletResponse); |
206 |
request, applicationDispatcher, servletRequest, servletResponse); |
206 |
this.request.getCoyoteRequest().action(ActionCode.ASYNC_DISPATCH, null); |
207 |
this.request.getCoyoteRequest().action(ActionCode.ASYNC_DISPATCH, null); |
207 |
clearServletRequestResponse(); |
208 |
clearServletRequestResponse(); |
|
|
209 |
this.context.decrementInProgressAsyncCount(); |
208 |
} |
210 |
} |
209 |
} |
211 |
} |
210 |
|
212 |
|
Lines 311-316
Link Here
|
311 |
ActionCode.ASYNC_START, this); |
313 |
ActionCode.ASYNC_START, this); |
312 |
|
314 |
|
313 |
this.context = context; |
315 |
this.context = context; |
|
|
316 |
context.incrementInProgressAsyncCount(); |
314 |
this.servletRequest = request; |
317 |
this.servletRequest = request; |
315 |
this.servletResponse = response; |
318 |
this.servletResponse = response; |
316 |
this.hasOriginalRequestAndResponse = originalRequestResponse; |
319 |
this.hasOriginalRequestAndResponse = originalRequestResponse; |
Lines 377-382
Link Here
|
377 |
} |
380 |
} |
378 |
|
381 |
|
379 |
|
382 |
|
|
|
383 |
|
384 |
@Override |
385 |
public boolean isAvailable() { |
386 |
Context context = this.context; |
387 |
if (context == null) { |
388 |
return false; |
389 |
} |
390 |
return context.getState().isAvailable(); |
391 |
} |
392 |
|
393 |
|
380 |
public void setErrorState(Throwable t, boolean fireOnError) { |
394 |
public void setErrorState(Throwable t, boolean fireOnError) { |
381 |
if (t!=null) request.setAttribute(RequestDispatcher.ERROR_EXCEPTION, t); |
395 |
if (t!=null) request.setAttribute(RequestDispatcher.ERROR_EXCEPTION, t); |
382 |
request.getCoyoteRequest().action(ActionCode.ASYNC_ERROR, null); |
396 |
request.getCoyoteRequest().action(ActionCode.ASYNC_ERROR, null); |