|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.html.AjaxServerAndClientTimeFilter
public class AjaxServerAndClientTimeFilter
This is a filter that injects javascript code to the top head portion and after the body so that the time can me measured what the client parse time was for this page. It also reports the total server parse/response time in the client and logs the server response time and response size it took for a specific response in the server log. You can specify what the status text should be like this: ServerAndClientTimeFilter.statustext=My Application, Server parsetime: ${servertime}, Client parsetime: ${clienttime} likewise for ajax request use ajax.ServerAndClientTimeFilter.statustext
Constructor Summary | |
---|---|
AjaxServerAndClientTimeFilter()
|
Method Summary | |
---|---|
AppendingStringBuffer |
filter(AppendingStringBuffer responseBuffer)
Filters the response buffer and returns the filtered response that can be used in the next filter or returned to the real output itself. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AjaxServerAndClientTimeFilter()
Method Detail |
---|
public AppendingStringBuffer filter(AppendingStringBuffer responseBuffer)
IResponseFilter
filter
in interface IResponseFilter
responseBuffer
- The response buffer to be filtered
IResponseFilter.filter(org.apache.wicket.util.string.AppendingStringBuffer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |