Package com.teamdev.jxbrowser.navigation
Interface LoadUrlParams
public interface LoadUrlParams
The parameters of the load URL request.
-
Nested Class Summary
Nested Classes -
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.BuildernewBuilder(String url) Creates a newLoadUrlParamsbuilder.default Optional<UploadData>Returns the upload data that will be sent to the resource or an emptyOptionalif there is no upload data.default Stringurl()Returns a string that represents the URL of the resource to load.
-
Method Details
-
newBuilder
Creates a newLoadUrlParamsbuilder.- Parameters:
url- the URL of the resource to load- Returns:
- a new
LoadUrlParams.Builderinstance - Throws:
IllegalArgumentException- whenurlis 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 emptyOptionalif 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.
-