set_encoding


Description:

public void set_encoding (Encoding encoding)

Sets the message body encoding that this will declare.

In particular, you should use this if you are going to send a request or response in chunked encoding.

Parameters:

this

a MessageHeaders

encoding

a Encoding