org.glassfish.tyrus.sample.chat
Class LoginResponseEncoder

java.lang.Object
  extended by org.glassfish.tyrus.sample.chat.LoginResponseEncoder
All Implemented Interfaces:
Encoder, Encoder.Text<LoginResponseMessage>

public class LoginResponseEncoder
extends Object
implements Encoder.Text<LoginResponseMessage>

Author:
Danny Coward (danny.coward at oracle.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
 
Constructor Summary
LoginResponseEncoder()
           
 
Method Summary
 String encode(LoginResponseMessage lrm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginResponseEncoder

public LoginResponseEncoder()
Method Detail

encode

public String encode(LoginResponseMessage lrm)
              throws EncodeException
Specified by:
encode in interface Encoder.Text<LoginResponseMessage>
Throws:
EncodeException


Copyright © 2012. All Rights Reserved.