Class Guzzle\Plugin\Cache\DenyRevalidation

InheritanceGuzzle\Plugin\Cache\DenyRevalidation » Guzzle\Plugin\Cache\DefaultRevalidation

Never performs cache revalidation and just assumes the request is invalid

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createRevalidationRequest() Creates a request to use for revalidation Guzzle\Plugin\Cache\DefaultRevalidation
handle200Response() Handles a 200 response response from revalidating. The server does not support validation, so use this response. Guzzle\Plugin\Cache\DefaultRevalidation
handle304Response() Handle a 304 response and ensure that it is still valid Guzzle\Plugin\Cache\DefaultRevalidation
handleBadResponse() Handles a bad response when attempting to revalidate Guzzle\Plugin\Cache\DefaultRevalidation

Method Details

__construct() public method

public void __construct ( )
revalidate() public method

public void revalidate ( Guzzle\Http\Message\RequestInterface $request, Guzzle\Http\Message\Response $response )