Uses of Class
io.netty.handler.pcap.PcapWriteHandler.Builder
Packages that use PcapWriteHandler.Builder
Package
Description
Capture data and write into Pcap format which helps in troubleshooting.
-
Uses of PcapWriteHandler.Builder in io.netty.handler.pcap
Methods in io.netty.handler.pcap that return PcapWriteHandler.BuilderModifier and TypeMethodDescriptionstatic PcapWriteHandler.Builder
PcapWriteHandler.builder()
PcapWriteHandler.Builder.captureZeroByte
(boolean captureZeroByte) Set totrue
to enable capturing packets with empty (0 bytes) payload.PcapWriteHandler.Builder.forceTcpChannel
(InetSocketAddress serverAddress, InetSocketAddress clientAddress, boolean isServerPipeline) Force this handler to write data as if they were TCP packets, with the given connection metadata.PcapWriteHandler.Builder.forceUdpChannel
(InetSocketAddress localAddress, InetSocketAddress remoteAddress) Force this handler to write data as if they were UDP packets, with the given connection metadata.PcapWriteHandler.Builder.sharedOutputStream
(boolean sharedOutputStream) Set totrue
if multiplePcapWriteHandler
instances will be writing to the sameOutputStream
concurrently, and write locking is required.PcapWriteHandler.Builder.writePcapGlobalHeader
(boolean writePcapGlobalHeader) Set totrue
to write Pcap Global Header on initialization.Constructors in io.netty.handler.pcap with parameters of type PcapWriteHandler.BuilderModifierConstructorDescriptionprivate
PcapWriteHandler
(PcapWriteHandler.Builder builder, OutputStream outputStream)