Codec.getEncoder

Returns a new (or reusable) instance of {@link Encoder} which encodes message objects into binary or -specific data.

@param connection The current connection @return The encoder instance @throws Exception If an error occurred while retrieving the encoder

interface Codec
getEncoder
()

Meta