|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.net.websocket.extensions.FrameBuilder
public class FrameBuilder
A factory class for building Frames.
| Constructor Summary | |
|---|---|
FrameBuilder()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrameBuilder()
| Method Detail |
|---|
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||