public interface LoadUrlParams
Modifier and Type | Interface and Description |
---|---|
static class |
LoadUrlParams.Builder
A builder of
LoadUrlParams . |
Modifier and Type | Method and Description |
---|---|
default java.util.List<HttpHeader> |
extraHeaders()
Returns an immutable list of the extra HTTP headers that will be sent to the resource or an
empty list if there were no extra HTTP headers.
|
static LoadUrlParams.Builder |
newBuilder(java.lang.String url)
Creates a new
LoadUrlParams builder. |
default java.lang.String |
postData()
Returns a string that represents the POST data that will be sent to the resource.
|
default java.lang.String |
url()
Returns a string that represents the URL of the resource to load.
|
static LoadUrlParams.Builder newBuilder(java.lang.String url)
LoadUrlParams
builder.url
- the URL of the resource to loadLoadUrlParams.Builder
instancejava.lang.IllegalArgumentException
- when url
is empty or blankdefault java.lang.String url()
default java.lang.String postData()
default java.util.List<HttpHeader> extraHeaders()