Uses of Interface
edu.iu.client.HttpResponseValidator
Packages that use HttpResponseValidator
Package
Description
Functional programming adapters for the
Jakarta JSON
Processing and Java
HTTP Client modules.
-
Uses of HttpResponseValidator in edu.iu.client
Fields in edu.iu.client declared as HttpResponseValidatorModifier and TypeFieldDescriptionstatic final HttpResponseValidatorIuHttp.OKValidates a 200 OK response.Methods in edu.iu.client that return HttpResponseValidatorModifier and TypeMethodDescriptionstatic HttpResponseValidatorIuHttp.checkHeaders(BiPredicate<String, String> headerValidator) Gets aHttpResponseValidatorthat tests response headers.static HttpResponseValidatorIuHttp.expectStatus(int expectedStatusCode) Gets aHttpResponseValidatorthat verifies an expected status code.Methods in edu.iu.client with parameters of type HttpResponseValidatorModifier and TypeMethodDescriptionstatic <T> HttpResponseHandler<T> IuHttp.validate(Function<InputStream, T> bodyDeserializer, HttpResponseValidator... responseValidators) Creates an HTTP response handler.