| Package | Description |
|---|---|
| javax.net.websocket |
| Modifier and Type | Method and Description |
|---|---|
String |
Encoder.Text.encode(T object)
Encode the given object into a String.
|
byte[] |
Encoder.Binary.encode(T object)
Encode the given object into a byte array.
|
void |
RemoteEndpoint.sendObject(T o)
Sends a custom developer object, blocking until it has been transmitted.
|
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.