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
ConstructorsConstructorDescriptionServerFrame(int opcode, boolean fin, boolean rsv1, org.apache.pekko.util.ByteString payload) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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()
-