Package org.apache.pekko.http.impl.util
Class LogByteStringTools
java.lang.Object
org.apache.pekko.http.impl.util.LogByteStringTools
INTERNAL API
Flow and BidiFlow stages to log streams of ByteString.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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, logByteStringBidiorg.apache.pekko.util.ByteString, org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> (String name, int maxBytes) -
logToStringBidi
public static <A,B> org.apache.pekko.stream.scaladsl.BidiFlow<A,A, logToStringBidiB, B, org.apache.pekko.NotUsed> (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, logByteStringorg.apache.pekko.NotUsed> (String name, int maxBytes) -
logToString
public static <A> org.apache.pekko.stream.scaladsl.Flow<A,A, logToStringorg.apache.pekko.NotUsed> (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, logTLSBidiorg.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.NotUsed> (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, logTlsOutboundorg.apache.pekko.NotUsed> (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, logTlsInboundorg.apache.pekko.NotUsed> (String name, int maxBytes) -
printByteString
-
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, logTLSBidiBySettingorg.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsInbound, Object> (String tag, scala.Option<Object> maxBytesSetting)
-