Class DropwizardSlf4jRequestLogWriter

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
io.dropwizard.request.logging.old.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 Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    write(String entry)
     

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addEventListener, doStart, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • 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