Package com.teamdev.jxbrowser.navigation
Interface LoadUrlParams
public interface LoadUrlParams
The parameters of the load URL request.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<HttpHeader>
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
(String url) Creates a newLoadUrlParams
builder.default Optional<UploadData>
Returns the upload data that will be sent to the resource or an emptyOptional
if there is no upload data.default String
url()
Returns a string that represents the URL of the resource to load.
-
Method Details
-
newBuilder
Creates a newLoadUrlParams
builder.- Parameters:
url
- the URL of the resource to load- Returns:
- a new
LoadUrlParams.Builder
instance - Throws:
IllegalArgumentException
- whenurl
is empty or blank
-
url
Returns a string that represents the URL of the resource to load. -
uploadData
Returns the upload data that will be sent to the resource or an emptyOptional
if there is no upload data.- Since:
- 7.29
-
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.
-