Package | Description |
---|---|
ai.preferred.venom.fetcher | |
ai.preferred.venom.validator |
Modifier and Type | Method and Description |
---|---|
Validator.Status |
ValidationException.getStatus()
Get the validation status of the response.
|
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 | Method and Description |
---|---|
Validator.Status |
Validator.isValid(@NotNull Request request,
@NotNull Response response)
Method will be called when a response need validation.
|
Validator.Status |
StatusOkValidator.isValid(Request request,
Response response) |
Validator.Status |
PipelineValidator.isValid(Request request,
Response response) |
Validator.Status |
MimeTypeValidator.isValid(Request request,
Response response) |
Validator.Status |
EmptyContentValidator.isValid(Request request,
Response response) |
static Validator.Status |
Validator.Status.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validator.Status[] |
Validator.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018. All rights reserved.