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 HttpResponseValidator
IuHttp.OK
Validates a 200 OK response.Methods in edu.iu.client that return HttpResponseValidatorModifier and TypeMethodDescriptionstatic HttpResponseValidator
IuHttp.checkHeaders
(BiPredicate<String, String> headerValidator) Gets aHttpResponseValidator
that tests response headers.static HttpResponseValidator
IuHttp.expectStatus
(int expectedStatusCode) Gets aHttpResponseValidator
that 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.