public class IdentityEncoder extends AbstractEncoder implements PayloadEncoder
Modifier and Type | Field and Description |
---|---|
protected Charset |
charset |
protected String |
charsetName
Deprecated.
This field is no longer used. Use
charset instead. |
Constructor and Description |
---|
IdentityEncoder() |
IdentityEncoder(Charset charset) |
Modifier and Type | Method and Description |
---|---|
Payload |
encode(char[] buffer,
int offset,
int length)
Convert a char array to a
Payload |
encode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
protected Charset charset
@Deprecated protected String charsetName
charset
instead.public IdentityEncoder()
public IdentityEncoder(Charset charset)
public Payload encode(char[] buffer, int offset, int length)
PayloadEncoder
Payload
encode
in interface PayloadEncoder
Payload