Class DropwizardSlf4jRequestLogWriter

  • All Implemented Interfaces:
    org.eclipse.jetty.server.RequestLog.Writer, org.eclipse.jetty.util.component.LifeCycle

    public class DropwizardSlf4jRequestLogWriter
    extends org.eclipse.jetty.util.component.AbstractLifeCycle
    implements org.eclipse.jetty.server.RequestLog.Writer
    A SLF4J-backed RequestLog.Writer.
    Since:
    2.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, STARTED, STARTING, STOPPED, STOPPING
    • Method Detail

      • write

        public void write​(String entry)
                   throws IOException
        Specified by:
        write in interface org.eclipse.jetty.server.RequestLog.Writer
        Throws:
        IOException
      • doStop

        protected void doStop()
                       throws Exception
        Overrides:
        doStop in class org.eclipse.jetty.util.component.AbstractLifeCycle
        Throws:
        Exception