public class JsonRequestLogger extends AbstractRequestLogger
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.7.1</version> </dependency>
IRequestLogger.ISessionLogInfo, IRequestLogger.RequestData, IRequestLogger.SessionData
Constructor and Description |
---|
JsonRequestLogger()
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getLogString(IRequestLogger.RequestData rd,
IRequestLogger.SessionData sd) |
protected com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
protected void |
log(IRequestLogger.RequestData rd,
IRequestLogger.SessionData sd) |
addRequest, formatDate, getAverageRequestTime, getCurrentActiveRequestCount, getCurrentRequest, getLiveSessions, getPeakActiveRequestCount, getPeakSessions, getRequests, getRequestsPerMinute, getTotalCreatedSessions, logEventTarget, logRequestedUrl, logResponseTarget, objectCreated, objectRemoved, objectUpdated, performLogging, requestTime, sessionCreated, sessionDestroyed
protected com.fasterxml.jackson.databind.ObjectMapper getMapper()
protected void log(IRequestLogger.RequestData rd, IRequestLogger.SessionData sd)
log
in class AbstractRequestLogger
protected String getLogString(IRequestLogger.RequestData rd, IRequestLogger.SessionData sd)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.