public class ApacheEncoders
extends java.lang.Object
Request content encoders specific to the Apache client implementation.
See the MultipartContent
class documentation for more configuration details.
Constructor and Description |
---|
ApacheEncoders() |
Modifier and Type | Method and Description |
---|---|
static void |
multipart(ChainedHttpConfig config,
ToServer ts)
Encodes multipart/form-data where the body content must be an instance of the
MultipartContent class. |
public static void multipart(ChainedHttpConfig config, ToServer ts)
Encodes multipart/form-data where the body content must be an instance of the MultipartContent
class. Individual parts will be
encoded using the encoders available to the ChainedHttpConfig
object.
config
- the chained configuration objectts
- the server adapter