|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the custom developer object that this Encoder can encode into a String.public static interface Encoder.Text<T>
This interface defines how to provide a way to convert a custom object into a text message.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.websocket.Encoder |
|---|
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T> |
| Method Summary | |
|---|---|
String |
encode(T object)
Encode the given object into a String. |
| Method Detail |
|---|
String encode(T object)
throws EncodeException
object - the object being encoded.
EncodeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||