Class StringRequestContent

java.lang.Object
All Implemented Interfaces:
Request.Content
Direct Known Subclasses:
FormRequestContent

public class StringRequestContent extends BytesRequestContent

A Request.Content for strings.

It is possible to specify, at the constructor, an encoding used to convert the string into bytes, by default UTF-8.