org.glassfish.tyrus.platform.decoders
Class ByteDecoder

java.lang.Object
  extended by org.glassfish.tyrus.platform.decoders.ByteDecoder
All Implemented Interfaces:
javax.net.websocket.Decoder, javax.net.websocket.Decoder.Text<java.lang.Byte>

public class ByteDecoder
extends java.lang.Object
implements javax.net.websocket.Decoder.Text<java.lang.Byte>

Author:
Stepan Kopriva (stepan.kopriva at oracle.com)

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

Constructor Detail

ByteDecoder

public ByteDecoder()
Method Detail

decode

public java.lang.Byte decode(java.lang.String s)
                      throws javax.net.websocket.DecodeException
Specified by:
decode in interface javax.net.websocket.Decoder.Text<java.lang.Byte>
Throws:
javax.net.websocket.DecodeException

willDecode

public boolean willDecode(java.lang.String s)
Specified by:
willDecode in interface javax.net.websocket.Decoder.Text<java.lang.Byte>


Copyright © 2012. All Rights Reserved.