public interface LoadHtmlParams
Modifier and Type | Interface and Description |
---|---|
static class |
LoadHtmlParams.Builder
A builder of
LoadHtmlParams . |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
baseUrl()
Returns a string that represents the URL that will be used to resolve links with a relative
path in the HTML document or an empty string if the URL has not been specified.
|
default java.lang.String |
html()
Returns a string that represents the text of the HTML content to load or an empty string if
the HTML content is empty.
|
static LoadHtmlParams.Builder |
newBuilder(java.lang.String html)
Creates a new
LoadHtmlParams builder with the required parameters. |
default boolean |
shouldReplaceNavigationEntry()
Returns
true if the current history item should be replaced or false if the
request should be processed as a normal navigation. |
static LoadHtmlParams.Builder newBuilder(java.lang.String html)
LoadHtmlParams
builder with the required parameters.html
- a string containing html to loadLoadHtmlParams.Builder
instancedefault java.lang.String html()
default java.lang.String baseUrl()
default boolean shouldReplaceNavigationEntry()
true
if the current history item should be replaced or false
if the
request should be processed as a normal navigation.