Uses of Class
org.mockserver.model.RecoverAfter
Packages that use RecoverAfter
-
Uses of RecoverAfter in org.mockserver.model
Methods in org.mockserver.model that return RecoverAfterModifier and TypeMethodDescriptionHttpResponse.getRecoverAfter()static RecoverAfterRecoverAfter.recoverAfter(int failTimes) Static builder: fail the firstfailTimesmatches with the default503 Service Unavailable, then serve the configured success response.RecoverAfter.withFailResponse(HttpResponse failResponse) RecoverAfter.withFailTimes(Integer failTimes) RecoverAfter.withIdempotencyHeader(String idempotencyHeader) Methods in org.mockserver.model with parameters of type RecoverAfterModifier and TypeMethodDescriptionHttpResponse.withRecoverAfter(RecoverAfter recoverAfter) Attach a retry/backoff recovery primitive: serve a failure response for the firstfailTimesmatches, then serve this configured response. -
Uses of RecoverAfter in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return RecoverAfterConstructors in org.mockserver.serialization.model with parameters of type RecoverAfter