| Package | Description |
|---|---|
| com.taobao.api.internal.toplink.embedded.websocket.frame.rfc6455 |
| Modifier and Type | Field and Description |
|---|---|
protected FrameBuilderRfc6455.Opcode |
FrameHeaderRfc6455.opcode
The opcode.
|
protected FrameBuilderRfc6455.Opcode |
FrameHeaderRfc6455.realOpcode
The real opcode.
|
| Modifier and Type | Method and Description |
|---|---|
FrameBuilderRfc6455.Opcode |
FrameHeaderRfc6455.getOpcode()
Gets the opcode.
|
FrameBuilderRfc6455.Opcode |
FrameHeaderRfc6455.getRealOpcode()
If opcode is CONTINUATION, real opcode has previous non-CONTINUATION opcode
or not real opcode is null.
|
static FrameBuilderRfc6455.Opcode |
FrameBuilderRfc6455.Opcode.valueOf(int opc)
Value of.
|
static FrameBuilderRfc6455.Opcode |
FrameBuilderRfc6455.Opcode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameBuilderRfc6455.Opcode[] |
FrameBuilderRfc6455.Opcode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static FrameHeaderRfc6455 |
FrameBuilderRfc6455.createFrameHeader(byte[] body,
boolean fragmented,
FrameBuilderRfc6455.Opcode opcode)
Creates the frame header.
|
| Constructor and Description |
|---|
FrameHeaderRfc6455(boolean fragmented,
int headerLength,
FrameBuilderRfc6455.PayloadLengthType payloadLengthType,
long payloadLength,
FrameBuilderRfc6455.Opcode opcode)
Instantiates a new frame header draft06.
|
FrameHeaderRfc6455(boolean fragmented,
int headerLength,
FrameBuilderRfc6455.PayloadLengthType payloadLengthType,
long payloadLength,
FrameBuilderRfc6455.Opcode opcode,
FrameBuilderRfc6455.Opcode realOpcode)
Instantiates a new frame header draft06.
|
Copyright © 2021. All rights reserved.