public interface Validator
| Modifier and Type | Interface and Description |
|---|---|
static class |
Validator.Status
The allowed return status of validation
|
| Modifier and Type | Field and Description |
|---|---|
static Validator |
ALWAYS_VALID |
| Modifier and Type | Method and Description |
|---|---|
Validator.Status |
isValid(@NotNull Request request,
@NotNull Response response)
Method will be called when a response need validation
|
static final Validator ALWAYS_VALID
Validator.Status isValid(@NotNull @NotNull Request request, @NotNull @NotNull Response response)
request - request sent to fetch a responseresponse - response fetchedCopyright © 2018. All rights reserved.