public class ServerHostNameAndTimeFilter extends Object implements IResponseFilter
window.defaultStatus = 'Host: myhost/192.168.1.66/someid, handled in: 0.01s'| Constructor and Description |
|---|
ServerHostNameAndTimeFilter()
Construct, trying system property 'examples.hostname' for the server id or else current time
milis.
|
ServerHostNameAndTimeFilter(String hostId)
Construct with an id.
|
| Modifier and Type | Method and Description |
|---|---|
AppendingStringBuffer |
filter(AppendingStringBuffer responseBuffer) |
public ServerHostNameAndTimeFilter()
public ServerHostNameAndTimeFilter(String hostId)
hostId - a unique id indentifying this server instancepublic AppendingStringBuffer filter(AppendingStringBuffer responseBuffer)
filter in interface IResponseFilterIResponseFilter.filter(AppendingStringBuffer)Copyright © 2020. All rights reserved.