Uses of Interface
ai.preferred.venom.validator.Validator
-
Packages that use Validator Package Description ai.preferred.venom ai.preferred.venom.fetcher ai.preferred.venom.validator -
-
Uses of Validator in ai.preferred.venom
Methods in ai.preferred.venom that return Validator Modifier and Type Method Description ValidatorUrlRouter. getValidator(Request request)ValidatorValidatorRouter. getValidator(@NotNull Request request)Returns the handler to be used for a specified request.Methods in ai.preferred.venom with parameters of type Validator Modifier and Type Method Description UrlRouterUrlRouter. register(java.util.regex.Pattern urlPattern, Handler handler, Validator validator)Adds a url pattern, and the handler to be used.UrlRouterUrlRouter. register(java.util.regex.Pattern urlPattern, Validator validator)Adds a url pattern, and the handler to be used. -
Uses of Validator in ai.preferred.venom.fetcher
Methods in ai.preferred.venom.fetcher with parameters of type Validator Modifier and Type Method Description AsyncFetcher.BuilderAsyncFetcher.Builder. setValidator(@NotNull Validator validator)Sets the Validator to be used.AsyncFetcher.BuilderAsyncFetcher.Builder. setValidator(@NotNull Validator... validators)Sets the multiple validators to be used.StorageFetcher.BuilderStorageFetcher.Builder. setValidator(@NotNull Validator validator)Sets the Validator to be used.StorageFetcher.BuilderStorageFetcher.Builder. setValidator(@NotNull Validator... validators)Sets the multiple validators to be used. -
Uses of Validator in ai.preferred.venom.validator
Classes in ai.preferred.venom.validator that implement Validator Modifier and Type Class Description classEmptyContentValidatorThis class determines the validity of a response by its content length.classMimeTypeValidatorThis class determines the validity of a response by its mime type.classPipelineValidatorclassStatusOkValidatorThis class determines the validity of a response by its status code.Fields in ai.preferred.venom.validator declared as Validator Modifier and Type Field Description static ValidatorValidator. ALWAYS_VALIDA validator that always return valid.Constructors in ai.preferred.venom.validator with parameters of type Validator Constructor Description PipelineValidator(Validator... validators)Constructs pipeline validator.Constructor parameters in ai.preferred.venom.validator with type arguments of type Validator Constructor Description PipelineValidator(java.util.List<Validator> validators)Constructs pipeline validator.
-