Uses of Interface
jakarta.websocket.Encoder

  • Uses of Encoder in jakarta.websocket

    Subinterfaces of Encoder in jakarta.websocket
    Modifier and Type
    Interface
    Description
    static interface 
    This interface defines how to provide a way to convert a custom object into a binary message.
    static interface 
    This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.
    static interface 
    This interface defines how to provide a way to convert a custom object into a text message.
    static interface 
    This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
    Methods in jakarta.websocket that return types with arguments of type Encoder
    Modifier and Type
    Method
    Description
    List<Class<? extends Encoder>>
    EndpointConfig.getEncoders()
    Return the Encoder implementation classes configured.
    Method parameters in jakarta.websocket with type arguments of type Encoder
    Modifier and Type
    Method
    Description
    ClientEndpointConfig.Builder.encoders(List<Class<? extends Encoder>> encoders)
    Assign the list of encoder implementation classes the client will use.