public class Frame
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Frame.Compressor |
static class |
Frame.Decoder |
static class |
Frame.Decompressor |
static class |
Frame.Encoder |
static class |
Frame.Header |
Modifier and Type | Field and Description |
---|---|
io.netty.buffer.ByteBuf |
body |
Frame.Header |
header |
static byte |
PROTOCOL_VERSION_MASK |
Modifier and Type | Method and Description |
---|---|
static Frame |
create(Message.Type type,
int streamId,
int version,
java.util.EnumSet<Frame.Header.Flag> flags,
io.netty.buffer.ByteBuf body) |
boolean |
release() |
void |
retain() |
Frame |
with(io.netty.buffer.ByteBuf newBody) |
public static final byte PROTOCOL_VERSION_MASK
public final Frame.Header header
public final io.netty.buffer.ByteBuf body
public void retain()
public boolean release()
public static Frame create(Message.Type type, int streamId, int version, java.util.EnumSet<Frame.Header.Flag> flags, io.netty.buffer.ByteBuf body)
public Frame with(io.netty.buffer.ByteBuf newBody)
Copyright © 2017 The Apache Software Foundation