public class FrameBuilder extends Object
| Constructor and Description |
|---|
FrameBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Frame.Data.Binary |
createBinaryContinuationFrame(String s,
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.
|
static Frame.Data.Binary |
createBinaryFrame(String s)
Create a binary data frame with the given bytes.
|
static 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.
|
static Frame.Data.Text |
createTextFrame(String s)
Create a text frame with the given string data.
|
public static Frame.Data.Text createTextFrame(String s)
public static Frame.Data.Text.Continuation createTextContinuationFrame(String s, boolean isLast)
s - isLast - public static Frame.Data.Binary createBinaryFrame(String s)
public static Frame.Data.Binary createBinaryContinuationFrame(String s, boolean isLast)
s - isLast -
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.