| Package | Description |
|---|---|
| ai.preferred.venom |
| Modifier and Type | Field and Description |
|---|---|
static Session |
Session.EMPTY_SESSION
An instance of an empty session.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
Session.Builder.build()
Create a new instance of session.
|
static <T> Session |
Session.singleton(@NotNull Session.Key<T> key,
T value)
Constructs a singleton session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Handler.handle(Request request,
VResponse response,
Scheduler scheduler,
Session session,
Worker worker)
This function is called when the request is fetched successfully.
|
Crawler.Builder |
Crawler.Builder.setSession(@NotNull Session session)
Sets the Session to be used, if not set, defaults to none.
|
Copyright © 2019. All rights reserved.