comparison src/org/eclipse/jetty/server/handler/RequestLogHandler.java @ 928:23a57aad34c0

remove isAsync()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 18:54:32 -0600
parents ea1768c00d03
children 3191abe890ef
comparison
equal deleted inserted replaced
927:1c1c350fbe4b 928:23a57aad34c0
77 } 77 }
78 finally 78 finally
79 { 79 {
80 if (baseRequest.getDispatcherType().equals(DispatcherType.REQUEST)) 80 if (baseRequest.getDispatcherType().equals(DispatcherType.REQUEST))
81 { 81 {
82 if (continuation.isAsync()) 82 log(baseRequest, (Response)response);
83 {
84 if (continuation.isInitial())
85 continuation.addContinuationListener(new ContinuationListener()
86 {
87
88 public void onTimeout(Continuation continuation)
89 {
90
91 }
92
93 public void onComplete(Continuation continuation)
94 {
95 log(baseRequest, (Response)response);
96 }
97 });
98 }
99 else
100 log(baseRequest, (Response)response);
101 } 83 }
102 } 84 }
103 } 85 }
104 86
105 /* ------------------------------------------------------------ */ 87 /* ------------------------------------------------------------ */