org.glassfish.tyrus.platform.decoders
Class BinaryDecoderNoOp

java.lang.Object
  extended by org.glassfish.tyrus.platform.decoders.BinaryDecoderNoOp
All Implemented Interfaces:
javax.net.websocket.Decoder, javax.net.websocket.Decoder.Binary

public class BinaryDecoderNoOp
extends java.lang.Object
implements javax.net.websocket.Decoder.Binary

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
BinaryDecoderNoOp()
           
 
Method Summary
 byte[] decode(byte[] bytes)
           
 boolean willDecode(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryDecoderNoOp

public BinaryDecoderNoOp()
Method Detail

decode

public byte[] decode(byte[] bytes)
              throws javax.net.websocket.DecodeException
Specified by:
decode in interface javax.net.websocket.Decoder.Binary
Throws:
javax.net.websocket.DecodeException

willDecode

public boolean willDecode(byte[] bytes)
Specified by:
willDecode in interface javax.net.websocket.Decoder.Binary


Copyright © 2012. All Rights Reserved.