Search in sources :

Example 1 with RequestLogger

use of org.apache.wicket.protocol.http.RequestLogger in project wicket by apache.

the class LiveSessionsPage method getRequestLogger.

IRequestLogger getRequestLogger() {
    WebApplication webApplication = (WebApplication) Application.get();
    IRequestLogger requestLogger = webApplication.getRequestLogger();
    if (requestLogger == null)
        requestLogger = new RequestLogger();
    return requestLogger;
}
Also used : IRequestLogger(org.apache.wicket.protocol.http.IRequestLogger) IRequestLogger(org.apache.wicket.protocol.http.IRequestLogger) RequestLogger(org.apache.wicket.protocol.http.RequestLogger) WebApplication(org.apache.wicket.protocol.http.WebApplication)

Example 2 with RequestLogger

use of org.apache.wicket.protocol.http.RequestLogger in project wicket by apache.

the class RequestsPage method getRequestLogger.

IRequestLogger getRequestLogger() {
    WebApplication webApplication = (WebApplication) Application.get();
    IRequestLogger requestLogger = webApplication.getRequestLogger();
    if (webApplication.getRequestLogger() == null)
        requestLogger = new RequestLogger();
    return requestLogger;
}
Also used : IRequestLogger(org.apache.wicket.protocol.http.IRequestLogger) IRequestLogger(org.apache.wicket.protocol.http.IRequestLogger) RequestLogger(org.apache.wicket.protocol.http.RequestLogger) WebApplication(org.apache.wicket.protocol.http.WebApplication)

Aggregations

IRequestLogger (org.apache.wicket.protocol.http.IRequestLogger)2 RequestLogger (org.apache.wicket.protocol.http.RequestLogger)2 WebApplication (org.apache.wicket.protocol.http.WebApplication)2