public class ServerHostNameAndTimeFilter extends Object implements org.apache.wicket.response.filter.IResponseFilter
window.defaultStatus = 'Host: myhost/192.168.1.66/someid, handled in: 0.01s'| Constructor and Description |
|---|
ServerHostNameAndTimeFilter()
Construct, trying system property 'hostid' for the server instance.
|
ServerHostNameAndTimeFilter(String hostId)
Construct with an id.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addJavaScript(org.apache.wicket.util.string.AppendingStringBuffer sb) |
protected void |
addMessage(org.apache.wicket.util.string.AppendingStringBuffer sb) |
org.apache.wicket.util.string.AppendingStringBuffer |
filter(org.apache.wicket.util.string.AppendingStringBuffer responseBuffer) |
public ServerHostNameAndTimeFilter()
throws Exception
Exceptionpublic ServerHostNameAndTimeFilter(String hostId)
hostId - a unique id identifying this server instanceprotected void addJavaScript(org.apache.wicket.util.string.AppendingStringBuffer sb)
protected void addMessage(org.apache.wicket.util.string.AppendingStringBuffer sb)
public org.apache.wicket.util.string.AppendingStringBuffer filter(org.apache.wicket.util.string.AppendingStringBuffer responseBuffer)
filter in interface org.apache.wicket.response.filter.IResponseFilterCopyright © 2017. All rights reserved.