@@ -221,7 +221,7 @@ public boolean event(org.apache.coyote.Request req,
221221 error = true ;
222222 connector .getService ().getContainer ().getPipeline ().getFirst ().event (request , response , request .getEvent ());
223223 }
224- res .action (ActionCode .ACTION_COMET_END , null );
224+ res .action (ActionCode .COMET_END , null );
225225 } else if (!error && read && request .getAvailable ()) {
226226 // If this was a read and not all bytes have been read, or if no data
227227 // was read from the connector, then it is an error
@@ -285,7 +285,7 @@ public boolean asyncDispatch(org.apache.coyote.Request req,org.apache.coyote.Res
285285 }
286286 } else if (impl .getState ()==AsyncContextImpl .AsyncState .STARTED ){
287287 //TODO SERVLET3 - async
288- res .action (ActionCode .ACTION_ASYNC_START , request .getAsyncContext ());
288+ res .action (ActionCode .ASYNC_START , request .getAsyncContext ());
289289 async = true ;
290290 break ;
291291 } else if (impl .getState ()==AsyncContextImpl .AsyncState .NOT_STARTED ){
@@ -311,11 +311,11 @@ public boolean asyncDispatch(org.apache.coyote.Request req,org.apache.coyote.Res
311311 // Invoke a read event right away if there are available bytes
312312 if (event (req , res , SocketStatus .OPEN )) {
313313 comet = true ;
314- res .action (ActionCode .ACTION_COMET_BEGIN , null );
314+ res .action (ActionCode .COMET_BEGIN , null );
315315 }
316316 } else {
317317 comet = true ;
318- res .action (ActionCode .ACTION_COMET_BEGIN , null );
318+ res .action (ActionCode .COMET_BEGIN , null );
319319 }
320320 } else {
321321 // Clear the filter chain, as otherwise it will not be reset elsewhere
@@ -325,7 +325,7 @@ public boolean asyncDispatch(org.apache.coyote.Request req,org.apache.coyote.Res
325325 }
326326 if (!async && !comet ) {
327327 response .finishResponse ();
328- req .action (ActionCode .ACTION_POST_REQUEST , null );
328+ req .action (ActionCode .POST_REQUEST , null );
329329 }
330330
331331 } catch (IOException e ) {
@@ -406,11 +406,11 @@ public void service(org.apache.coyote.Request req,
406406 // Invoke a read event right away if there are available bytes
407407 if (event (req , res , SocketStatus .OPEN )) {
408408 comet = true ;
409- res .action (ActionCode .ACTION_COMET_BEGIN , null );
409+ res .action (ActionCode .COMET_BEGIN , null );
410410 }
411411 } else {
412412 comet = true ;
413- res .action (ActionCode .ACTION_COMET_BEGIN , null );
413+ res .action (ActionCode .COMET_BEGIN , null );
414414 }
415415 } else {
416416 // Clear the filter chain, as otherwise it will not be reset elsewhere
@@ -422,17 +422,17 @@ public void service(org.apache.coyote.Request req,
422422 }
423423 AsyncContextImpl asyncConImpl = (AsyncContextImpl )request .getAsyncContext ();
424424 if (asyncConImpl !=null && asyncConImpl .getState ()==AsyncContextImpl .AsyncState .STARTED ) {
425- res .action (ActionCode .ACTION_ASYNC_START , request .getAsyncContext ());
425+ res .action (ActionCode .ASYNC_START , request .getAsyncContext ());
426426 async = true ;
427427 } else if (request .isAsyncDispatching ()) {
428428 asyncDispatch (req , res , SocketStatus .OPEN );
429429 if (request .isAsyncStarted ()) {
430430 async = true ;
431- res .action (ActionCode .ACTION_ASYNC_START , request .getAsyncContext ());
431+ res .action (ActionCode .ASYNC_START , request .getAsyncContext ());
432432 }
433433 } else if (!comet ) {
434434 response .finishResponse ();
435- req .action (ActionCode .ACTION_POST_REQUEST , null );
435+ req .action (ActionCode .POST_REQUEST , null );
436436 }
437437
438438 } catch (IOException e ) {
@@ -587,7 +587,7 @@ protected boolean postParseRequest(org.apache.coyote.Request req,
587587 serverName = req .localName ();
588588 if (serverName .isNull ()) {
589589 // well, they did ask for it
590- res .action (ActionCode .ACTION_REQ_LOCAL_NAME_ATTRIBUTE , null );
590+ res .action (ActionCode .REQ_LOCAL_NAME_ATTRIBUTE , null );
591591 }
592592 } else {
593593 serverName = req .serverName ();
0 commit comments