public class FrameBuilder extends Object
| Constructor and Description |
|---|
FrameBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Frame.Data.Binary.Continuation |
createBinaryContinuationFrame(ByteBuffer bb,
boolean isLast)
Create a partial binary frame with the given string fragment, and indication of whether this is the last or not
of a series.
|
Frame.Data.Binary |
createBinaryFrame(ByteBuffer bb)
Create a binary data frame with the given bytes.
|
Frame.Data.Text.Continuation |
createTextContinuationFrame(String s,
boolean isLast)
Create a partial text frame with the given string fragment, and indication of whether this is the last or not
of a series.
|
Frame.Data.Text |
createTextFrame(String s)
Create a text frame with the given string data.
|
static FrameBuilder |
getBuilder() |
public static FrameBuilder getBuilder()
public Frame.Data.Text createTextFrame(String s)
public Frame.Data.Text.Continuation createTextContinuationFrame(String s, boolean isLast)
s - isLast - public Frame.Data.Binary createBinaryFrame(ByteBuffer bb)
public Frame.Data.Binary.Continuation createBinaryContinuationFrame(ByteBuffer bb, boolean isLast)
s - isLast - Copyright © 2012. All Rights Reserved.