-
- All Implemented Interfaces:
public abstract class LogbackAccessEventSource
The Logback-access event source. Represents the attributes of IAccessEvent by Kotlin properties, which helps to implement subclasses with Kotlin delegated properties (especially lazy).
-
-
Field Summary
Fields Modifier and Type Field Description private final HttpServletRequest
request
private final HttpServletResponse
response
private final ServerAdapter
serverAdapter
private final Long
timeStamp
private final Long
elapsedTime
private final String
threadName
private final String
serverName
private final Integer
localPort
private final String
remoteAddr
private final String
remoteHost
private final String
remoteUser
private final String
protocol
private final String
method
private final String
requestURI
private final String
queryString
private final String
requestURL
private final Map<String, String>
requestHeaderMap
private final Map<String, String>
cookieMap
private final Map<String, List<String>>
requestParameterMap
private final Map<String, String>
attributeMap
private final String
sessionID
private final String
requestContent
private final Integer
statusCode
private final Map<String, String>
responseHeaderMap
private final Long
contentLength
private final String
responseContent
-
Constructor Summary
Constructors Constructor Description LogbackAccessEventSource()
-
Method Summary
Modifier and Type Method Description abstract HttpServletRequest
getRequest()
The value of IAccessEvent.getRequest. abstract HttpServletResponse
getResponse()
The value of IAccessEvent.getResponse. abstract ServerAdapter
getServerAdapter()
The value of IAccessEvent.getServerAdapter. abstract Long
getTimeStamp()
The value of IAccessEvent.getTimeStamp. abstract Long
getElapsedTime()
The value of IAccessEvent.getElapsedTime and IAccessEvent.getElapsedSeconds. abstract String
getThreadName()
The value of IAccessEvent.getThreadName. abstract String
getServerName()
The value of IAccessEvent.getServerName. abstract Integer
getLocalPort()
The value of IAccessEvent.getLocalPort. abstract String
getRemoteAddr()
The value of IAccessEvent.getRemoteAddr. abstract String
getRemoteHost()
The value of IAccessEvent.getRemoteHost. abstract String
getRemoteUser()
The value of IAccessEvent.getRemoteUser. abstract String
getProtocol()
The value of IAccessEvent.getProtocol. abstract String
getMethod()
The value of IAccessEvent.getMethod. abstract String
getRequestURI()
The value of IAccessEvent.getRequestURI. abstract String
getQueryString()
The value of IAccessEvent.getQueryString. abstract String
getRequestURL()
The value of IAccessEvent.getRequestURL. abstract Map<String, String>
getRequestHeaderMap()
The value of IAccessEvent.getRequestHeaderMap, IAccessEvent.getRequestHeaderNames and IAccessEvent.getRequestHeader. abstract Map<String, String>
getCookieMap()
The value of IAccessEvent.getCookie. abstract Map<String, List<String>>
getRequestParameterMap()
The value of IAccessEvent.getRequestParameterMap and IAccessEvent.getRequestParameter. abstract Map<String, String>
getAttributeMap()
The value of IAccessEvent.getAttribute. abstract String
getSessionID()
The value of IAccessEvent.getSessionID. abstract String
getRequestContent()
The value of IAccessEvent.getRequestContent. abstract Integer
getStatusCode()
The value of IAccessEvent.getStatusCode. abstract Map<String, String>
getResponseHeaderMap()
The value of IAccessEvent.getResponseHeaderMap, IAccessEvent.getResponseHeaderNameList and IAccessEvent.getResponseHeader. abstract Long
getContentLength()
The value of IAccessEvent.getContentLength. abstract String
getResponseContent()
The value of IAccessEvent.getResponseContent. LogbackAccessEventSource
fix()
Returns a serializable Logback-access event source with fixed evaluated values. -
-
Method Detail
-
getRequest
abstract HttpServletRequest getRequest()
The value of IAccessEvent.getRequest.
-
getResponse
abstract HttpServletResponse getResponse()
The value of IAccessEvent.getResponse.
-
getServerAdapter
abstract ServerAdapter getServerAdapter()
The value of IAccessEvent.getServerAdapter.
-
getTimeStamp
abstract Long getTimeStamp()
The value of IAccessEvent.getTimeStamp.
-
getElapsedTime
abstract Long getElapsedTime()
The value of IAccessEvent.getElapsedTime and IAccessEvent.getElapsedSeconds.
-
getThreadName
abstract String getThreadName()
The value of IAccessEvent.getThreadName.
-
getServerName
abstract String getServerName()
The value of IAccessEvent.getServerName.
-
getLocalPort
abstract Integer getLocalPort()
The value of IAccessEvent.getLocalPort.
-
getRemoteAddr
abstract String getRemoteAddr()
The value of IAccessEvent.getRemoteAddr.
-
getRemoteHost
abstract String getRemoteHost()
The value of IAccessEvent.getRemoteHost.
-
getRemoteUser
abstract String getRemoteUser()
The value of IAccessEvent.getRemoteUser.
-
getProtocol
abstract String getProtocol()
The value of IAccessEvent.getProtocol.
-
getRequestURI
abstract String getRequestURI()
The value of IAccessEvent.getRequestURI.
-
getQueryString
abstract String getQueryString()
The value of IAccessEvent.getQueryString.
-
getRequestURL
abstract String getRequestURL()
The value of IAccessEvent.getRequestURL.
-
getRequestHeaderMap
abstract Map<String, String> getRequestHeaderMap()
The value of IAccessEvent.getRequestHeaderMap, IAccessEvent.getRequestHeaderNames and IAccessEvent.getRequestHeader.
-
getCookieMap
abstract Map<String, String> getCookieMap()
The value of IAccessEvent.getCookie.
-
getRequestParameterMap
abstract Map<String, List<String>> getRequestParameterMap()
The value of IAccessEvent.getRequestParameterMap and IAccessEvent.getRequestParameter.
-
getAttributeMap
abstract Map<String, String> getAttributeMap()
The value of IAccessEvent.getAttribute.
-
getSessionID
abstract String getSessionID()
The value of IAccessEvent.getSessionID.
-
getRequestContent
abstract String getRequestContent()
The value of IAccessEvent.getRequestContent.
-
getStatusCode
abstract Integer getStatusCode()
The value of IAccessEvent.getStatusCode.
-
getResponseHeaderMap
abstract Map<String, String> getResponseHeaderMap()
The value of IAccessEvent.getResponseHeaderMap, IAccessEvent.getResponseHeaderNameList and IAccessEvent.getResponseHeader.
-
getContentLength
abstract Long getContentLength()
The value of IAccessEvent.getContentLength.
-
getResponseContent
abstract String getResponseContent()
The value of IAccessEvent.getResponseContent.
-
fix
LogbackAccessEventSource fix()
Returns a serializable Logback-access event source with fixed evaluated values.
-
-
-
-