|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientTrafficLogger
A logger that gets notified about client traffic usage.
Method Summary | |
---|---|
void |
logTraffic(String user,
HttpHeader request,
TrafficLogger client,
TrafficLogger network,
TrafficLogger cache,
TrafficLogger proxy)
Log the traffic usage for the given user and request. |
void |
setup(SProperties properties,
HttpProxy proxy)
Setup this logger |
Method Detail |
---|
void logTraffic(String user, HttpHeader request, TrafficLogger client, TrafficLogger network, TrafficLogger cache, TrafficLogger proxy)
user
- the authenticated user, may be null if user is not authenticatedrequest
- the actual http request headerclient
- the traffic between the client and the proxynetwork
- the traffic between the proxy and the networkcache
- the traffic between the proxy and the cacheproxy
- the traffic generated by the proxyvoid setup(SProperties properties, HttpProxy proxy)
properties
- the SProperties to get the settings from.proxy
- the HttpProxy that is using this logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |