Class WebSocketServerSpec.ServerFrame

java.lang.Object
org.apache.pekko.http.impl.engine.ws.WebSocketServerSpec.ServerFrame
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product
Enclosing class:
WebSocketServerSpec

public static final class WebSocketServerSpec.ServerFrame extends Object implements scala.Product, Serializable
One frame read from the server, with `opcode` as its raw code so unexpected opcodes can be reported.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerFrame(int opcode, boolean fin, boolean rsv1, org.apache.pekko.util.ByteString payload)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    fin()
     
    int
     
    org.apache.pekko.util.ByteString
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • ServerFrame

      public ServerFrame(int opcode, boolean fin, boolean rsv1, org.apache.pekko.util.ByteString payload)
  • Method Details

    • opcode

      public int opcode()
    • fin

      public boolean fin()
    • rsv1

      public boolean rsv1()
    • payload

      public org.apache.pekko.util.ByteString payload()