org.springframework.web.socket.adapter.standard

Class ConvertingEncoderDecoderSupport.TextEncoder<T>

  • Type Parameters:
    T - the type that this Encoder can convert to
    All Implemented Interfaces:
    javax.websocket.Encoder, javax.websocket.Encoder.Text<T>
    Enclosing class:
    ConvertingEncoderDecoderSupport<T,M>


    public abstract static class ConvertingEncoderDecoderSupport.TextEncoder<T>
    extends ConvertingEncoderDecoderSupport<T,java.lang.String>
    implements javax.websocket.Encoder.Text<T>
    A text javax.websocket.Encoder that delegates to Spring's conversion service. See ConvertingEncoderDecoderSupport for details.
    • Constructor Detail

      • TextEncoder

        public TextEncoder()