public interface LoadDataParams
Modifier and Type | Interface and Description |
---|---|
static class |
LoadDataParams.Builder
A builder of
LoadDataParams . |
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.
|
default java.lang.String |
data()
Returns a string that represents the data to load.
|
default MimeType |
mimeType()
Returns the MIME type of the data to load.
|
static LoadDataParams.Builder |
newBuilder(java.lang.String data)
Creates a new
LoadDataParams builder with the required parameters. |
default boolean |
shouldReplaceNavigationEntry()
Returns
true if the data will be loaded as a normal navigation and the current
history item should be replaced. |
default java.lang.String |
textEncoding()
Returns a string that represents the data encoding.
|
static LoadDataParams.Builder newBuilder(java.lang.String data)
LoadDataParams
builder with the required parameters.data
- the data to loadLoadDataParams.Builder
instancedefault java.lang.String data()
default java.lang.String textEncoding()
default java.lang.String baseUrl()
default MimeType mimeType()
default boolean shouldReplaceNavigationEntry()
true
if the data will be loaded as a normal navigation and the current
history item should be replaced.