View | Details | Raw Unified | Return to bug 58537
Collapse All | Expand All

(-)java/org/apache/catalina/valves/ExtendedAccessLogValve.java (-8 / +8 lines)
Lines 258-264 Link Here
258
        }
258
        }
259
    }
259
    }
260
260
261
    protected class RequestHeaderElement implements AccessLogElement {
261
    protected static class RequestHeaderElement implements AccessLogElement {
262
        private final String header;
262
        private final String header;
263
263
264
        public RequestHeaderElement(String header) {
264
        public RequestHeaderElement(String header) {
Lines 271-277 Link Here
271
        }
271
        }
272
    }
272
    }
273
273
274
    protected class ResponseHeaderElement implements AccessLogElement {
274
    protected static class ResponseHeaderElement implements AccessLogElement {
275
        private final String header;
275
        private final String header;
276
276
277
        public ResponseHeaderElement(String header) {
277
        public ResponseHeaderElement(String header) {
Lines 285-291 Link Here
285
        }
285
        }
286
    }
286
    }
287
287
288
    protected class ServletContextElement implements AccessLogElement {
288
    protected static class ServletContextElement implements AccessLogElement {
289
        private final String attribute;
289
        private final String attribute;
290
290
291
        public ServletContextElement(String attribute) {
291
        public ServletContextElement(String attribute) {
Lines 299-305 Link Here
299
        }
299
        }
300
    }
300
    }
301
301
302
    protected class CookieElement implements AccessLogElement {
302
    protected static class CookieElement implements AccessLogElement {
303
        private final String name;
303
        private final String name;
304
304
305
        public CookieElement(String name) {
305
        public CookieElement(String name) {
Lines 320-326 Link Here
320
    /**
320
    /**
321
     * write a specific response header - x-O(xxx)
321
     * write a specific response header - x-O(xxx)
322
     */
322
     */
323
    protected class ResponseAllHeaderElement implements AccessLogElement {
323
    protected static class ResponseAllHeaderElement implements AccessLogElement {
324
        private final String header;
324
        private final String header;
325
325
326
        public ResponseAllHeaderElement(String header) {
326
        public ResponseAllHeaderElement(String header) {
Lines 351-357 Link Here
351
        }
351
        }
352
    }
352
    }
353
353
354
    protected class RequestAttributeElement implements AccessLogElement {
354
    protected static class RequestAttributeElement implements AccessLogElement {
355
        private final String attribute;
355
        private final String attribute;
356
356
357
        public RequestAttributeElement(String attribute) {
357
        public RequestAttributeElement(String attribute) {
Lines 365-371 Link Here
365
        }
365
        }
366
    }
366
    }
367
367
368
    protected class SessionAttributeElement implements AccessLogElement {
368
    protected static class SessionAttributeElement implements AccessLogElement {
369
        private final String attribute;
369
        private final String attribute;
370
370
371
        public SessionAttributeElement(String attribute) {
371
        public SessionAttributeElement(String attribute) {
Lines 384-390 Link Here
384
        }
384
        }
385
    }
385
    }
386
386
387
    protected class RequestParameterElement implements AccessLogElement {
387
    protected static class RequestParameterElement implements AccessLogElement {
388
        private final String parameter;
388
        private final String parameter;
389
389
390
        public RequestParameterElement(String parameter) {
390
        public RequestParameterElement(String parameter) {

Return to bug 58537