Class HttpForwardWithFallbackActionHandler

java.lang.Object
org.mockserver.mock.action.http.HttpForwardAction
org.mockserver.mock.action.http.HttpForwardWithFallbackActionHandler

public class HttpForwardWithFallbackActionHandler extends HttpForwardAction
Handles forward-with-fallback actions: forwards the request to the upstream host defined by the HttpForward; if the upstream returns a status code matching the fallback criteria (default 500-599) or the request times out / fails to connect, the configured fallback HttpResponse is returned instead.