Package | Description |
---|---|
javax.websocket |
Modifier and Type | Method | Description |
---|---|---|
ByteBuffer |
Encoder.Binary.encode(T object) |
Encode the given object into a byte array.
|
void |
Encoder.BinaryStream.encode(T object,
OutputStream os) |
Encode the given object into a binary stream written to the
implementation provided OutputStream.
|
String |
Encoder.Text.encode(T object) |
Encode the given object into a String.
|
void |
Encoder.TextStream.encode(T object,
Writer writer) |
Encode the given object to a character stream writing it
to the supplied Writer.
|
void |
RemoteEndpoint.Basic.sendObject(Object data) |
Sends a custom developer object, blocking until it has been transmitted.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.