chardecoder = charset.newDecoder();
chardecoder.onMalformedInput(malformedInputAction);
chardecoder.onUnmappableCharacter(unmappableInputAction);
charencoder = charset.newEncoder();
charencoder.onMalformedInput(malformedInputAction);
charencoder.onUnmappableCharacter(unmappableInputAction);
}
DefaultBHttpClientConnection conn = new DefaultBHttpClientConnection(8 * 1024,
chardecoder, charencoder,
this.cconfig.getMessageConstraints());
conn.bind(socket);