Package org.eclipse.jetty.client.util
Class FormContentProvider
- java.lang.Object
-
- org.eclipse.jetty.client.util.AbstractTypedContentProvider
-
- org.eclipse.jetty.client.util.BytesContentProvider
-
- org.eclipse.jetty.client.util.StringContentProvider
-
- org.eclipse.jetty.client.util.FormContentProvider
-
- All Implemented Interfaces:
java.lang.Iterable<java.nio.ByteBuffer>
,ContentProvider
,ContentProvider.Typed
public class FormContentProvider extends StringContentProvider
AContentProvider
for form uploads with the "application/x-www-form-urlencoded" content type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.ContentProvider
ContentProvider.Typed
-
-
Constructor Summary
Constructors Constructor Description FormContentProvider(Fields fields)
FormContentProvider(Fields fields, java.nio.charset.Charset charset)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
convert(Fields fields)
static java.lang.String
convert(Fields fields, java.nio.charset.Charset charset)
-
Methods inherited from class org.eclipse.jetty.client.util.BytesContentProvider
getLength, isReproducible, iterator
-
Methods inherited from class org.eclipse.jetty.client.util.AbstractTypedContentProvider
getContentType
-
-