Package | Description |
---|---|
com.teamdev.jxbrowser.cookie |
Contains classes that allow you to manage cookies.
|
com.teamdev.jxbrowser.navigation |
Contains classes and interfaces for working with navigation.
|
com.teamdev.jxbrowser.time |
The utility classes for working with time.
|
Modifier and Type | Method and Description |
---|---|
default Timestamp |
Cookie.creationTime()
Returns the cookie creation time since UNIX epoch.
|
default Timestamp |
Cookie.expirationTime()
Returns the cookie expiration time since UNIX epoch.
|
Modifier and Type | Method and Description |
---|---|
Cookie.Builder |
Cookie.Builder.creationTime(Timestamp creationTime)
Sets the cookie creation time.
|
Cookie.Builder |
Cookie.Builder.expirationTime(Timestamp expirationTime)
Sets the cookie expiration time.
|
Modifier and Type | Field and Description |
---|---|
static Timestamp |
Navigation.DEFAULT_TIMEOUT_IN_SECONDS
The default timeout for resource loading is 45 seconds.
|
Modifier and Type | Method and Description |
---|---|
default Timestamp |
NavigationEntry.timestamp()
Returns the time at which the last known navigation was completed.
|
Modifier and Type | Method and Description |
---|---|
void |
Navigation.loadUrlAndWait(LoadUrlParams params,
Timestamp timeout)
Loads a resource identified by the given
params and blocks current thread execution
until the main frame of the resource is loaded completely or the given timeoutInSeconds is reached. |
void |
Navigation.loadUrlAndWait(java.lang.String url,
Timestamp timeout)
Loads a resource identified by the given
url and blocks current thread execution
until the main frame of the resource is loaded completely or the given timeoutInSeconds is reached. |
Modifier and Type | Field and Description |
---|---|
static Timestamp |
Timestamp.NONE
The
Timestamp from the number of milliseconds of UTC time since Unix epoch
1970-01-01T00:00:00Z set to none. |
Modifier and Type | Method and Description |
---|---|
static Timestamp |
Timestamp.fromMillis(long milliseconds)
Creates a
Timestamp from the number of milliseconds of UTC time since Unix epoch
1970-01-01T00:00:00Z. |
static Timestamp |
Timestamp.fromSeconds(long seconds)
Creates a
Timestamp from the number of seconds of UTC time since Unix epoch
1970-01-01T00:00:00Z. |