Class CompositeSink

java.lang.Object
org.zalando.logbook.core.CompositeSink
All Implemented Interfaces:
org.zalando.logbook.Sink

public final class CompositeSink extends Object implements org.zalando.logbook.Sink
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    write(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response)
     
    void
    write(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request)
     
    void
    writeBoth(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CompositeSink

      public CompositeSink()
  • Method Details

    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.zalando.logbook.Sink
    • write

      public void write(org.zalando.logbook.Precorrelation precorrelation, org.zalando.logbook.HttpRequest request)
      Specified by:
      write in interface org.zalando.logbook.Sink
    • write

      public void write(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response)
      Specified by:
      write in interface org.zalando.logbook.Sink
    • writeBoth

      public void writeBoth(org.zalando.logbook.Correlation correlation, org.zalando.logbook.HttpRequest request, org.zalando.logbook.HttpResponse response)
      Specified by:
      writeBoth in interface org.zalando.logbook.Sink