Class StreamHttpLogWriter

java.lang.Object
org.zalando.logbook.core.StreamHttpLogWriter
All Implemented Interfaces:
org.zalando.logbook.HttpLogWriter

@API(status=STABLE) public final class StreamHttpLogWriter extends Object implements org.zalando.logbook.HttpLogWriter
  • Constructor Details

    • StreamHttpLogWriter

      public StreamHttpLogWriter()
    • StreamHttpLogWriter

      public StreamHttpLogWriter(PrintStream stream)
  • Method Details

    • write

      public void write(org.zalando.logbook.Precorrelation precorrelation, String request) throws IOException
      Specified by:
      write in interface org.zalando.logbook.HttpLogWriter
      Throws:
      IOException
    • write

      public void write(org.zalando.logbook.Correlation correlation, String response) throws IOException
      Specified by:
      write in interface org.zalando.logbook.HttpLogWriter
      Throws:
      IOException