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.BuilderPcapWriteHandler.builder()PcapWriteHandler.Builder.captureZeroByte(boolean captureZeroByte) Set totrueto enable capturing packets with empty (0 bytes) payload.PcapWriteHandler.Builder.forceTcpChannel(java.net.InetSocketAddress serverAddress, java.net.InetSocketAddress clientAddress, boolean isServerPipeline) Force this handler to write data as if they were TCP packets, with the given connection metadata.PcapWriteHandler.Builder.forceUdpChannel(java.net.InetSocketAddress localAddress, java.net.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 totrueif multiplePcapWriteHandlerinstances will be writing to the sameOutputStreamconcurrently, and write locking is required.PcapWriteHandler.Builder.writePcapGlobalHeader(boolean writePcapGlobalHeader) Set totrueto write Pcap Global Header on initialization.Constructors in io.netty.handler.pcap with parameters of type PcapWriteHandler.BuilderModifierConstructorDescriptionprivatePcapWriteHandler(PcapWriteHandler.Builder builder, java.io.OutputStream outputStream)