Class AvailableDecoders

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<RegisteredDecoder>

    public class AvailableDecoders
    extends java.lang.Object
    implements java.lang.Iterable<RegisteredDecoder>, java.io.Closeable
    • Constructor Detail

      • AvailableDecoders

        public AvailableDecoders​(javax.websocket.EndpointConfig config,
                                 WebSocketComponents components)
    • Method Detail

      • getFirstRegisteredDecoder

        public RegisteredDecoder getFirstRegisteredDecoder​(java.lang.Class<?> type)
      • getRegisteredDecoders

        public java.util.List<RegisteredDecoder> getRegisteredDecoders​(java.lang.Class<?> returnType)
      • getRegisteredDecoders

        public java.util.List<RegisteredDecoder> getRegisteredDecoders​(java.lang.Class<? extends javax.websocket.Decoder> interfaceType,
                                                                       java.lang.Class<?> returnType)
      • getTextDecoders

        public java.util.List<RegisteredDecoder> getTextDecoders​(java.lang.Class<?> returnType)
      • getBinaryDecoders

        public java.util.List<RegisteredDecoder> getBinaryDecoders​(java.lang.Class<?> returnType)
      • getTextStreamDecoders

        public java.util.List<RegisteredDecoder> getTextStreamDecoders​(java.lang.Class<?> returnType)
      • getBinaryStreamDecoders

        public java.util.List<RegisteredDecoder> getBinaryStreamDecoders​(java.lang.Class<?> returnType)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable