public class ApiCallLogContextListener extends Object implements javax.servlet.ServletRequestListener
ServletRequestListener for storing information that needs to end up
in the log regarding calls to SURFconext endpoints in the Request local
thread. Because not all information is 'present' on the place where we
actually store the log record (e.g. shindig service implementation) and we
can't modify all Shindig interfaces to pass the info we need to apply the
ThreadLocal strategy.| Constructor and Description |
|---|
ApiCallLogContextListener() |
| Modifier and Type | Method and Description |
|---|---|
static ApiCallLog |
getApiCallLog()
Get the ApiCallLog of the current thread
|
void |
requestDestroyed(javax.servlet.ServletRequestEvent sre) |
void |
requestInitialized(javax.servlet.ServletRequestEvent requestEvent) |
public void requestDestroyed(javax.servlet.ServletRequestEvent sre)
requestDestroyed in interface javax.servlet.ServletRequestListenerpublic void requestInitialized(javax.servlet.ServletRequestEvent requestEvent)
requestInitialized in interface javax.servlet.ServletRequestListenerpublic static ApiCallLog getApiCallLog()
Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.