| Package | Description |
|---|---|
| javax.net.websocket | |
| org.glassfish.tyrus.platform | |
| org.glassfish.tyrus.platform.encoders | |
| org.glassfish.tyrus.spi.grizzlyprovider |
| Modifier and Type | Method and Description |
|---|---|
String |
Encoder.Text.encode(T object)
Encode the given object into a String.
|
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.
|
void |
Encoder.TextStream.encode(T object,
Writer writer)
Encode the given object to a character stream writing it
to the supplied Writer.
|
void |
RemoteEndpoint.sendObject(T o)
Sends a custom developer object, blocking until it has been transmitted.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteEndpointWrapper.sendObject(T o) |
| Modifier and Type | Method and Description |
|---|---|
String |
BooleanEncoder.encode(Boolean b) |
String |
ByteEncoder.encode(Byte b) |
String |
CharEncoder.encode(Character b) |
String |
DoubleEncoder.encode(Double b) |
String |
FloatEncoder.encode(Float b) |
String |
IntegerEncoder.encode(Integer b) |
String |
LongEncoder.encode(Long b) |
ByteBuffer |
BinaryEncoderNoOp.encode(Object object) |
String |
ShortEncoder.encode(Short b) |
String |
StringEncoderNoOp.encode(String b) |
| Modifier and Type | Method and Description |
|---|---|
void |
GrizzlyRemoteEndpoint.sendObject(Object o) |
Copyright © 2012. All Rights Reserved.