Class LogByteStringTools$

java.lang.Object
org.apache.pekko.http.impl.util.LogByteStringTools$

public class LogByteStringTools$ extends Object
INTERNAL API

Flow and BidiFlow stages to log streams of ByteString.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final LogByteStringTools$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    char
    asASCII(byte b)
     
    org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed>
    logByteString(String name, int maxBytes)
     
    org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed>
    logByteStringBidi(String name, int maxBytes)
     
    org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.NotUsed>
    logTLSBidi(String name, int maxBytes)
     
    org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,Object>
    logTLSBidiBySetting(String tag, scala.Option<Object> maxBytesSetting)
     
    org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.NotUsed>
    logTlsInbound(String name, int maxBytes)
     
    org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.NotUsed>
    logTlsOutbound(String name, int maxBytes)
     
    <A> org.apache.pekko.stream.scaladsl.Flow<A,A,org.apache.pekko.NotUsed>
    logToString(String name, int maxBytes)
     
    <A, B> org.apache.pekko.stream.scaladsl.BidiFlow<A,A,B,B,org.apache.pekko.NotUsed>
    logToStringBidi(String name, int maxBytes, scala.reflect.ClassTag<A> evidence$1, scala.reflect.ClassTag<B> evidence$2)
     
    int
     
    printByteString(org.apache.pekko.util.ByteString bytes, int maxBytes, boolean addPrefix, String indent)
     

    Methods inherited from class java.lang.Object

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

    • MODULE$

      public static final LogByteStringTools$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • LogByteStringTools$

      public LogByteStringTools$()
  • Method Details

    • MaxBytesPrinted

      public int MaxBytesPrinted()
    • logByteStringBidi

      public org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed> logByteStringBidi(String name, int maxBytes)
    • logToStringBidi

      public <A, B> org.apache.pekko.stream.scaladsl.BidiFlow<A,A,B,B,org.apache.pekko.NotUsed> logToStringBidi(String name, int maxBytes, scala.reflect.ClassTag<A> evidence$1, scala.reflect.ClassTag<B> evidence$2)
    • logByteString

      public org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed> logByteString(String name, int maxBytes)
    • logToString

      public <A> org.apache.pekko.stream.scaladsl.Flow<A,A,org.apache.pekko.NotUsed> logToString(String name, int maxBytes)
    • logTLSBidi

      public org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.NotUsed> logTLSBidi(String name, int maxBytes)
    • logTlsOutbound

      public org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.NotUsed> logTlsOutbound(String name, int maxBytes)
    • logTlsInbound

      public org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.NotUsed> logTlsInbound(String name, int maxBytes)
    • printByteString

      public String printByteString(org.apache.pekko.util.ByteString bytes, int maxBytes, boolean addPrefix, String indent)
    • asASCII

      public char asASCII(byte b)
    • logTLSBidiBySetting

      public org.apache.pekko.stream.scaladsl.BidiFlow<org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsInbound,Object> logTLSBidiBySetting(String tag, scala.Option<Object> maxBytesSetting)