Class WSTestUtils$

java.lang.Object
org.apache.pekko.http.impl.engine.ws.WSTestUtils$

public class WSTestUtils$ extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final WSTestUtils$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final WSTestUtils$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • WSTestUtils$

      public WSTestUtils$()
  • Method Details

    • frameHeader

      public org.apache.pekko.util.ByteString frameHeader(Protocol.Opcode opcode, long length, boolean fin, scala.Option<Object> mask, boolean rsv1, boolean rsv2, boolean rsv3)
    • frame

      public org.apache.pekko.util.ByteString frame(Protocol.Opcode opcode, org.apache.pekko.util.ByteString data, boolean fin, boolean mask)
    • closeFrame

      public org.apache.pekko.util.ByteString closeFrame(int closeCode, boolean mask, String msg)
    • closeFrame

      public org.apache.pekko.util.ByteString closeFrame(int closeCode, boolean mask, org.apache.pekko.util.ByteString msgBytes)
    • closeFrameData

      public org.apache.pekko.util.ByteString closeFrameData(int closeCode, org.apache.pekko.util.ByteString msgBytes)
    • maskedASCII

      public scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedASCII(String str, int mask)
    • maskedUTF8

      public scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedUTF8(String str, int mask)
    • maskedBytes

      public scala.Tuple2<org.apache.pekko.util.ByteString,Object> maskedBytes(org.apache.pekko.util.ByteString bytes, int mask)
    • shortBE

      public org.apache.pekko.util.ByteString shortBE(int value)
    • intBE

      public org.apache.pekko.util.ByteString intBE(int value)