Class WSTestUtils
java.lang.Object
org.apache.pekko.http.impl.engine.ws.WSTestUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.apache.pekko.util.ByteStringcloseFrame(int closeCode, boolean mask, String msg) static org.apache.pekko.util.ByteStringcloseFrame(int closeCode, boolean mask, org.apache.pekko.util.ByteString msgBytes) static org.apache.pekko.util.ByteStringcloseFrameData(int closeCode, org.apache.pekko.util.ByteString msgBytes) static org.apache.pekko.util.ByteStringframe(Protocol.Opcode opcode, org.apache.pekko.util.ByteString data, boolean fin, boolean mask) static org.apache.pekko.util.ByteStringframeHeader(Protocol.Opcode opcode, long length, boolean fin, scala.Option<Object> mask, boolean rsv1, boolean rsv2, boolean rsv3) static org.apache.pekko.util.ByteStringintBE(int value) static scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedASCII(String str, int mask) static scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedBytes(org.apache.pekko.util.ByteString bytes, int mask) static scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedUTF8(String str, int mask) static org.apache.pekko.util.ByteStringshortBE(int value) 
- 
Constructor Details- 
WSTestUtilspublic WSTestUtils()
 
- 
- 
Method Details- 
frameHeaderpublic static org.apache.pekko.util.ByteString frameHeader(Protocol.Opcode opcode, long length, boolean fin, scala.Option<Object> mask, boolean rsv1, boolean rsv2, boolean rsv3) 
- 
framepublic static org.apache.pekko.util.ByteString frame(Protocol.Opcode opcode, org.apache.pekko.util.ByteString data, boolean fin, boolean mask) 
- 
closeFrame
- 
closeFramepublic static org.apache.pekko.util.ByteString closeFrame(int closeCode, boolean mask, org.apache.pekko.util.ByteString msgBytes) 
- 
closeFrameDatapublic static org.apache.pekko.util.ByteString closeFrameData(int closeCode, org.apache.pekko.util.ByteString msgBytes) 
- 
maskedASCII
- 
maskedUTF8
- 
maskedBytespublic static scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedBytes(org.apache.pekko.util.ByteString bytes, int mask) 
- 
shortBEpublic static org.apache.pekko.util.ByteString shortBE(int value) 
- 
intBEpublic static org.apache.pekko.util.ByteString intBE(int value) 
 
-