chardecoder = charset.newDecoder();
chardecoder.onMalformedInput(malformedInputAction);
chardecoder.onUnmappableCharacter(unmappableInputAction);
charencoder = charset.newEncoder();
charencoder.onMalformedInput(malformedInputAction);
charencoder.onUnmappableCharacter(unmappableInputAction);
}
return new RecordingHttpClientConnection(DEFAULT_BUFSIZE,
DEFAULT_BUFSIZE, chardecoder, charencoder,
cconfig.getMessageConstraints(), null, null,
DefaultHttpRequestWriterFactory.INSTANCE,