Package | Description |
---|---|
org.javalite.http |
This package contains convenience classes for working with REST services.
|
Modifier and Type | Method and Description |
---|---|
protected Multipart |
Multipart.doConnect() |
Multipart |
Multipart.field(FormField field)
Adds a form field to the request
|
Multipart |
Multipart.field(String name,
String value)
Convenience method to add a form field to the request.
|
Multipart |
Multipart.fields(String... namesAndValues)
Convenience method to add multiple fields to the request.
|
Multipart |
Multipart.file(String fieldName,
String filePath)
Convenience method to add a file fields to the request.
|
static Multipart |
Http.multipart(String url)
Create multipart request
|
static Multipart |
Http.multipart(String url,
int connectTimeout,
int readTimeout)
Create multipart request
|
Copyright © 2019 JavaLite. All rights reserved.