| Package | Description |
|---|---|
| ai.preferred.venom | |
| ai.preferred.venom.fetcher | |
| ai.preferred.venom.response | |
| ai.preferred.venom.validator |
| Modifier and Type | Method and Description |
|---|---|
Validator |
ValidatorRouter.getValidator(@NotNull Request request)
Returns the handler to be used for a specified request
|
Validator |
UrlRouter.getValidator(Request request) |
| Modifier and Type | Method and Description |
|---|---|
UrlRouter |
UrlRouter.register(Pattern urlPattern,
Handler handler,
Validator validator)
Adds a url pattern, and the handler to be used.
|
UrlRouter |
UrlRouter.register(Pattern urlPattern,
Validator validator)
Adds a url pattern, and the handler to be used.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncFetcher.Builder |
AsyncFetcher.Builder.validator(@NotNull Validator validator)
Sets the Validator to be used.
|
| Constructor and Description |
|---|
AsyncResponseConsumer(Validator validator,
Set<Integer> stopCodes,
boolean compressed,
HttpFetcherRequest request) |
| Modifier and Type | Method and Description |
|---|---|
Validator |
VResponse.getValidator() |
@NotNull Validator |
Response.getValidator()
Returns the instance of validator used to validate this response
|
Validator |
BaseResponse.getValidator() |
| Modifier and Type | Method and Description |
|---|---|
BaseResponse |
BaseResponse.setValidator(Validator validator) |
| Constructor and Description |
|---|
BaseResponse(int statusCode,
String baseUrl,
byte[] content,
org.apache.http.entity.ContentType contentType,
org.apache.http.Header[] headers,
org.apache.http.HttpHost proxy,
Validator validator,
String sourceId) |
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyContentValidator |
class |
MimeTypeValidator |
class |
PipelineValidator |
class |
StatusOkValidator |
| Modifier and Type | Field and Description |
|---|---|
static Validator |
Validator.ALWAYS_VALID |
| Constructor and Description |
|---|
PipelineValidator(Validator... validators) |
| Constructor and Description |
|---|
PipelineValidator(List<Validator> validators) |
Copyright © 2018. All rights reserved.