程序包 | 说明 |
---|---|
io.netty.handler.pcap |
Capture data and write into Pcap format which helps in troubleshooting.
|
限定符和类型 | 方法和说明 |
---|---|
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(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 |
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 |
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. |