Package | Description |
---|---|
ai.preferred.venom | |
ai.preferred.venom.fetcher | |
ai.preferred.venom.response | |
ai.preferred.venom.storage | |
ai.preferred.venom.validator |
Modifier and Type | Method and Description |
---|---|
void |
Crawler.AsyncCrawlerCallbackProcessor.completed(Request request,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
ValidationException.getResponse()
Get the response validated.
|
Modifier and Type | Method and Description |
---|---|
Future<Response> |
AsyncFetcher.fetch(Request request) |
Future<Response> |
AsyncFetcher.fetch(Request request,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
Callback.completed(@NotNull Request request,
@NotNull Response response)
Method to be call upon completion of request.
|
Constructor and Description |
---|
ValidationException(Validator.Status status,
Response response,
String message)
Constructs a validation exception with a message.
|
ValidationException(Validator.Status status,
Response response,
String message,
Throwable cause) |
ValidationException(Validator.Status status,
Response response,
String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
ValidationException(Validator.Status status,
Response response,
Throwable cause) |
Modifier and Type | Interface and Description |
---|---|
interface |
Retrievable
This interface represents that the response can be/ has been stored.
|
interface |
Unwrappable
This interface represents that the response can be unwrapped.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseResponse |
class |
VResponse |
Modifier and Type | Method and Description |
---|---|
@NotNull Response |
Unwrappable.getInner()
Returns the unwrapped version of this request.
|
Response |
VResponse.getInner() |
Constructor and Description |
---|
VResponse(Response response)
Constructs a VResponse.
|
Modifier and Type | Method and Description |
---|---|
@NotNull String |
FileManager.put(@NotNull Request request,
@NotNull Response response)
Puts record into database.
|
Modifier and Type | Method and Description |
---|---|
Validator.Status |
StatusOkValidator.isValid(Request request,
Response response) |
Validator.Status |
EmptyContentValidator.isValid(Request request,
Response response) |
Validator.Status |
MimeTypeValidator.isValid(Request request,
Response response) |
Validator.Status |
Validator.isValid(@NotNull Request request,
@NotNull Response response)
Method will be called when a response need validation.
|
Validator.Status |
PipelineValidator.isValid(Request request,
Response response) |
Copyright © 2019. All rights reserved.