org.glassfish.tyrus.platform.encoders
Class BinaryEncoderNoOp

java.lang.Object
  extended by org.glassfish.tyrus.platform.encoders.BinaryEncoderNoOp
All Implemented Interfaces:
Encoder, Encoder.Binary

public class BinaryEncoderNoOp
extends Object
implements Encoder.Binary

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.Encoder
Encoder.Binary<T>, Encoder.Text<T>
 
Constructor Summary
BinaryEncoderNoOp()
           
 
Method Summary
 byte[] encode(Object object)
          Encode the given object into a byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryEncoderNoOp

public BinaryEncoderNoOp()
Method Detail

encode

public byte[] encode(Object object)
              throws EncodeException
Description copied from interface: Encoder.Binary
Encode the given object into a byte array.

Specified by:
encode in interface Encoder.Binary
Throws:
EncodeException


Copyright © 2012. All Rights Reserved.