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.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static char
    asASCII(byte b)
     
    static 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)
     
    static 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)
     
    static 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)
     
    static 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)
     
    static 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)
     
    static 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)
     
    static <A> org.apache.pekko.stream.scaladsl.Flow<A,A,org.apache.pekko.NotUsed>
    logToString(String name, int maxBytes)
     
    static <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)
     
    static int
     
    static String
    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
  • Constructor Details

    • LogByteStringTools

      public LogByteStringTools()
  • Method Details

    • MaxBytesPrinted

      public static int MaxBytesPrinted()
    • logByteStringBidi

      public static 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 static <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 static 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 static <A> org.apache.pekko.stream.scaladsl.Flow<A,A,org.apache.pekko.NotUsed> logToString(String name, int maxBytes)
    • logTLSBidi

      public static 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 static 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 static 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 static String printByteString(org.apache.pekko.util.ByteString bytes, int maxBytes, boolean addPrefix, String indent)
    • asASCII

      public static char asASCII(byte b)
    • logTLSBidiBySetting

      public static 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)