protected static class AccessLogValve.ElapsedTimeElement extends Object implements AccessLogValve.AccessLogElement
Constructor and Description |
---|
ElapsedTimeElement(boolean millis)
if millis is true, write time in millis - %D
if millis is false, write time in seconds - %T
|
Modifier and Type | Method and Description |
---|---|
void |
addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
public ElapsedTimeElement(boolean millis)
public void addElement(StringBuilder buf, Date date, Request request, Response response, long time)
addElement
in interface AccessLogValve.AccessLogElement
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.