| Modifier and Type | Method and Description |
|---|---|
| public HttpClientForm | |
| public HttpClientForm | |
| public HttpClientForm | Returns: this buildertrue if cleaned on termination (successful or failed) clean)Should file attributes be cleaned and eventually removed from disk. |
| public HttpClientForm | Returns: this builderthe encoding mode for this form encoding modeSet Form encoding |
| public HttpClientForm | Returns: this builderthe new factory)HttpDataFactory to useSet Upload factories (allows memory threshold configuration) |
| public HttpClientForm | |
| public HttpClientForm | Returns: this builderFile name name, InputStream File content as InputStream stream)Add an HTTP File Upload attribute |
| public default HttpClientForm | |
| public HttpClientForm | |
| public default HttpClientForm | Returns: this builderFile name name, InputStream File content as InputStream stream, String File mime-type contentType)Add an HTTP File Upload attribute |
| public HttpClientForm | Returns: this builderFile name name, String File name to override origin name filename, InputStream File content as InputStream stream, String File mime-type contentType)Add an HTTP File Upload attribute |
| public HttpClientForm | |
| public HttpClientForm | |
| public HttpClientForm | Returns: this buildershould this form be encoded as Multipart multipart)Define if this request will be encoded as Multipart |
| public HttpClientForm | |
| public HttpClientForm | Returns: this builderText file name name, InputStream Text file content as InputStream stream)Add an HTTP File Upload attribute for a text file. |
| public HttpClientForm | |
| public HttpClientForm | Returns: this builderText file name name, InputStream Text file content as InputStream inputStream, String Text file mime-type contentType)Add an HTTP File Upload attribute for a text file. |
| attr | back to summary |
|---|---|
| public HttpClientForm attr(String name, String value) Add an HTTP Form attribute
| |
| charset | back to summary |
|---|---|
| public HttpClientForm charset(Charset charset) Set the Form
| |
| cleanOnTerminate | back to summary |
|---|---|
| public HttpClientForm cleanOnTerminate(boolean clean) Should file attributes be cleaned and eventually removed from disk. Default to false.
| |
| encoding | back to summary |
|---|---|
| public HttpClientForm encoding(HttpPostRequestEncoder. Set Form encoding
| |
| factory | back to summary |
|---|---|
| public HttpClientForm factory(HttpDataFactory factory) Set Upload factories (allows memory threshold configuration)
| |
| file | back to summary |
|---|---|
| public HttpClientForm file(String name, File file) Add an HTTP File Upload attribute
| |
| file | back to summary |
|---|---|
| public HttpClientForm file(String name, InputStream stream) Add an HTTP File Upload attribute
| |
| file | back to summary |
|---|---|
| public default HttpClientForm file(String name, File file, String contentType) Add an HTTP File Upload attribute
| |
| file | back to summary |
|---|---|
| public HttpClientForm file(String name, String filename, File file, String contentType) Add an HTTP File Upload attribute
| |
| file | back to summary |
|---|---|
| public default HttpClientForm file(String name, InputStream stream, String contentType) Add an HTTP File Upload attribute
| |
| file | back to summary |
|---|---|
| public HttpClientForm file(String name, String filename, InputStream stream, String contentType) Add an HTTP File Upload attribute
| |
| files | back to summary |
|---|---|
| public HttpClientForm files(String name, File[] files, String[] contentTypes) Add an HTTP File Upload attribute
| |
| files | back to summary |
|---|---|
| public HttpClientForm files(String name, File[] files, String[] contentTypes, boolean[] textFiles) Add an HTTP File Upload attribute
| |
| multipart | back to summary |
|---|---|
| public HttpClientForm multipart(boolean multipart) Define if this request will be encoded as Multipart
| |
| textFile | back to summary |
|---|---|
| public HttpClientForm textFile(String name, File file) Add an HTTP File Upload attribute for a text file.
| |
| textFile | back to summary |
|---|---|
| public HttpClientForm textFile(String name, InputStream stream) Add an HTTP File Upload attribute for a text file.
| |
| textFile | back to summary |
|---|---|
| public HttpClientForm textFile(String name, File file, String contentType) Add an HTTP File Upload attribute for a text file.
| |
| textFile | back to summary |
|---|---|
| public HttpClientForm textFile(String name, InputStream inputStream, String contentType) Add an HTTP File Upload attribute for a text file.
| |