public class WSTestUtils
extends java.lang.Object
Constructor and Description |
---|
WSTestUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.pekko.util.ByteString |
closeFrame(int closeCode,
boolean mask,
org.apache.pekko.util.ByteString msgBytes) |
static org.apache.pekko.util.ByteString |
closeFrame(int closeCode,
boolean mask,
java.lang.String msg) |
static org.apache.pekko.util.ByteString |
closeFrameData(int closeCode,
org.apache.pekko.util.ByteString msgBytes) |
static org.apache.pekko.util.ByteString |
frame(Protocol.Opcode opcode,
org.apache.pekko.util.ByteString data,
boolean fin,
boolean mask) |
static org.apache.pekko.util.ByteString |
frameHeader(Protocol.Opcode opcode,
long length,
boolean fin,
scala.Option<java.lang.Object> mask,
boolean rsv1,
boolean rsv2,
boolean rsv3) |
static org.apache.pekko.util.ByteString |
intBE(int value) |
static scala.Tuple2<org.apache.pekko.util.ByteString,java.lang.Object> |
maskedASCII(java.lang.String str,
int mask) |
static scala.Tuple2<org.apache.pekko.util.ByteString,java.lang.Object> |
maskedBytes(org.apache.pekko.util.ByteString bytes,
int mask) |
static scala.Tuple2<org.apache.pekko.util.ByteString,java.lang.Object> |
maskedUTF8(java.lang.String str,
int mask) |
static org.apache.pekko.util.ByteString |
shortBE(int value) |
public static org.apache.pekko.util.ByteString frameHeader(Protocol.Opcode opcode, long length, boolean fin, scala.Option<java.lang.Object> mask, boolean rsv1, boolean rsv2, boolean rsv3)
public static org.apache.pekko.util.ByteString frame(Protocol.Opcode opcode, org.apache.pekko.util.ByteString data, boolean fin, boolean mask)
public static org.apache.pekko.util.ByteString closeFrame(int closeCode, boolean mask, java.lang.String msg)
public static org.apache.pekko.util.ByteString closeFrame(int closeCode, boolean mask, org.apache.pekko.util.ByteString msgBytes)
public static org.apache.pekko.util.ByteString closeFrameData(int closeCode, org.apache.pekko.util.ByteString msgBytes)
public static scala.Tuple2<org.apache.pekko.util.ByteString,java.lang.Object> maskedASCII(java.lang.String str, int mask)
public static scala.Tuple2<org.apache.pekko.util.ByteString,java.lang.Object> maskedUTF8(java.lang.String str, int mask)
public static scala.Tuple2<org.apache.pekko.util.ByteString,java.lang.Object> maskedBytes(org.apache.pekko.util.ByteString bytes, int mask)
public static org.apache.pekko.util.ByteString shortBE(int value)
public static org.apache.pekko.util.ByteString intBE(int value)