Uses of Interface
jakarta.websocket.Decoder

  • Uses of Decoder in jakarta.websocket

    Subinterfaces of Decoder in jakarta.websocket
    Modifier and Type
    Interface
    Description
    static interface 
    This interface defines how a custom object (of type T) is decoded from a web socket message in the form of a byte buffer.
    static interface 
    This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
    static interface 
    This interface defines how a custom object is decoded from a web socket message in the form of a string.
    static interface 
    This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
    Methods in jakarta.websocket that return types with arguments of type Decoder
    Modifier and Type
    Method
    Description
    List<Class<? extends Decoder>>
    EndpointConfig.getDecoders()
    Return the Decoder implementation classes configured.
    Method parameters in jakarta.websocket with type arguments of type Decoder
    Modifier and Type
    Method
    Description
    ClientEndpointConfig.Builder.decoders(List<Class<? extends Decoder>> decoders)
    Assign the list of decoder implementation classes the client will use.