public abstract class TyrusFrame extends Frame
Frame
representation.Frame.Builder
Modifier | Constructor and Description |
---|---|
protected |
TyrusFrame(Frame frame) |
Modifier and Type | Method and Description |
---|---|
abstract void |
respond(TyrusWebSocket socket)
Execution part of frame processing.
|
static TyrusFrame |
wrap(Frame frame,
byte inFragmentedType,
ByteBuffer remainder)
TyrusFrame factory method. |
builder, builder, getMaskingKey, getOpcode, getPayloadData, getPayloadLength, isControlFrame, isFin, isMask, isRsv1, isRsv2, isRsv3, toString
protected TyrusFrame(Frame frame)
public abstract void respond(TyrusWebSocket socket)
socket
- socket on which the appropriate action will be performed.public static TyrusFrame wrap(Frame frame, byte inFragmentedType, ByteBuffer remainder)
TyrusFrame
factory method.frame
- original plain frame.inFragmentedType
- type of fragment (text or binary).remainder
- decoding remainder. Used only for partial text frames.Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.