Class DefaultTextStreamEncoder

  • All Implemented Interfaces:
    javax.websocket.Encoder, javax.websocket.Encoder.TextStream<java.lang.String>

    public class DefaultTextStreamEncoder
    extends AbstractEncoder
    implements javax.websocket.Encoder.TextStream<java.lang.String>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface javax.websocket.Encoder

        javax.websocket.Encoder.Binary<T extends java.lang.Object>, javax.websocket.Encoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Encoder.Text<T extends java.lang.Object>, javax.websocket.Encoder.TextStream<T extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void encode​(java.lang.String message, java.io.Writer writer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.websocket.Encoder

        destroy, init
    • Constructor Detail

      • DefaultTextStreamEncoder

        public DefaultTextStreamEncoder()
    • Method Detail

      • encode

        public void encode​(java.lang.String message,
                           java.io.Writer writer)
                    throws javax.websocket.EncodeException,
                           java.io.IOException
        Specified by:
        encode in interface javax.websocket.Encoder.TextStream<java.lang.String>
        Throws:
        javax.websocket.EncodeException
        java.io.IOException