Class WarmerPreflightActionResponse
java.lang.Object
org.frontcache.io.ActionResponse
org.frontcache.io.WarmerPreflightActionResponse
warmer-preflight: what a run with these parameters would do, without calling the origin.
The response status is OK even when the preflight found errors - preflight.errors lists them,
and they are what warmer-start would refuse on. ERROR means the check itself could not run.-
Field Summary
Fields inherited from class ActionResponse
RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMarks this response a refusal: ERROR status, with the reason.voidsetPreflight(WarmerPreflight preflight) Methods inherited from class ActionResponse
getAction, getErrorDescription, getResponseStatus, setAction, setErrorDescription, setResponseStatus
-
Constructor Details
-
WarmerPreflightActionResponse
public WarmerPreflightActionResponse() -
WarmerPreflightActionResponse
-
-
Method Details
-
refuse
Marks this response a refusal: ERROR status, with the reason. -
getPreflight
-
setPreflight
-