Package | Description |
---|---|
io.netty.handler.pcap |
Capture data and write into Pcap format which helps in troubleshooting.
|
Modifier and Type | Method and Description |
---|---|
static PcapWriteHandler.Builder |
PcapWriteHandler.builder() |
PcapWriteHandler.Builder |
PcapWriteHandler.Builder.captureZeroByte(boolean captureZeroByte)
Set to
true to enable capturing packets with empty (0 bytes) payload. |
PcapWriteHandler.Builder |
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 |
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 |
PcapWriteHandler.Builder.sharedOutputStream(boolean sharedOutputStream)
Set to
true if multiple PcapWriteHandler instances will be
writing to the same OutputStream concurrently, and write locking is
required. |
PcapWriteHandler.Builder |
PcapWriteHandler.Builder.writePcapGlobalHeader(boolean writePcapGlobalHeader)
Set to
true to write Pcap Global Header on initialization. |
Copyright © 2008–2024 The Netty Project. All rights reserved.