public class LogbackAccessJettyRequestLog
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements org.eclipse.jetty.server.RequestLog
RequestLogImpl and NCSARequestLog.
Because emits an own customized access event (JettyLogbackAccessEvent).RequestLogImpl,
NCSARequestLog| Constructor and Description |
|---|
LogbackAccessJettyRequestLog(LogbackAccessProperties logbackAccessProperties,
org.springframework.core.env.Environment environment,
org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
void |
log(org.eclipse.jetty.server.Request request,
org.eclipse.jetty.server.Response response) |
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stoppublic LogbackAccessJettyRequestLog(LogbackAccessProperties logbackAccessProperties, org.springframework.core.env.Environment environment, org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
logbackAccessProperties - the configuration properties for Logback-access.environment - the environment.applicationEventPublisher - the application event publisher.protected void doStart()
throws Exception
doStart in class org.eclipse.jetty.util.component.AbstractLifeCycleExceptionpublic void log(org.eclipse.jetty.server.Request request,
org.eclipse.jetty.server.Response response)
log in interface org.eclipse.jetty.server.RequestLogCopyright © 2017 rakugakibox.net. All rights reserved.