Package com.microsoft.playwright.impl
Class WebSocketImpl.WebSocketFrameImpl
- java.lang.Object
-
- com.microsoft.playwright.impl.WebSocketImpl.WebSocketFrameImpl
-
- All Implemented Interfaces:
WebSocketFrame
- Enclosing class:
- WebSocketImpl
private static class WebSocketImpl.WebSocketFrameImpl extends java.lang.Object implements WebSocketFrame
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]bytes
-
Constructor Summary
Constructors Constructor Description WebSocketFrameImpl(java.lang.String payload, boolean isBase64)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]binary()Returns binary payload.java.lang.Stringtext()Returns text payload.
-
-
-
Method Detail
-
binary
public byte[] binary()
Description copied from interface:WebSocketFrameReturns binary payload.- Specified by:
binaryin interfaceWebSocketFrame
-
text
public java.lang.String text()
Description copied from interface:WebSocketFrameReturns text payload.- Specified by:
textin interfaceWebSocketFrame
-
-