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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic charasASCII(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 intstatic StringprintByteString(org.apache.pekko.util.ByteString bytes, int maxBytes, boolean addPrefix, String indent) 
- 
Constructor Details- 
LogByteStringToolspublic LogByteStringTools()
 
- 
- 
Method Details- 
MaxBytesPrintedpublic static int MaxBytesPrinted()
- 
logByteStringBidipublic 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) 
- 
logToStringBidipublic 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) 
- 
logByteStringpublic 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) 
- 
logToStringpublic static <A> org.apache.pekko.stream.scaladsl.Flow<A,A, logToStringorg.apache.pekko.NotUsed> (String name, int maxBytes) 
- 
logTLSBidipublic 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) 
- 
logTlsOutboundpublic 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) 
- 
logTlsInboundpublic 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
- 
asASCIIpublic static char asASCII(byte b) 
- 
logTLSBidiBySettingpublic 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) 
 
-