org.glassfish.tyrus.sample.chat.chatdata
Class LoginRequestDecoder

java.lang.Object
  extended by org.glassfish.tyrus.sample.chat.chatdata.LoginRequestDecoder
All Implemented Interfaces:
Decoder, Decoder.Text<LoginRequestMessage>

public class LoginRequestDecoder
extends Object
implements Decoder.Text<LoginRequestMessage>

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.websocket.Decoder
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
 
Constructor Summary
LoginRequestDecoder()
           
 
Method Summary
 LoginRequestMessage decode(String s)
           
 boolean willDecode(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginRequestDecoder

public LoginRequestDecoder()
Method Detail

decode

public LoginRequestMessage decode(String s)
Specified by:
decode in interface Decoder.Text<LoginRequestMessage>

willDecode

public boolean willDecode(String s)
Specified by:
willDecode in interface Decoder.Text<LoginRequestMessage>


Copyright © 2012. All Rights Reserved.