public class PacketDumpUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ALL
The Constant ALL.
|
static int |
FR_DOWN
The Constant FR_DOWN.
|
static int |
FR_UP
The Constant FR_UP.
|
static int |
HS_DOWN
The Constant HS_DOWN.
|
static int |
HS_UP
The Constant HS_UP.
|
| 构造器和说明 |
|---|
PacketDumpUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isDump(WebSocket ws,
int mode)
Checks if is dump.
|
static void |
main(String[] args)
The main method.
|
static void |
printPacketDump(String title,
ByteBuffer buffer)
Prints the packet dump.
|
public static final int FR_DOWN
public static final int HS_DOWN
public static final int FR_UP
public static final int HS_UP
public static final int ALL
public static boolean isDump(WebSocket ws, int mode)
mode - the modepublic static void printPacketDump(String title, ByteBuffer buffer)
title - the titlebuffer - the bufferCopyright © 2020. All rights reserved.