Class CachingWebClient

  • All Implemented Interfaces:
    RxDelegate

    public class CachingWebClient
    extends Object
    implements RxDelegate
    An asynchronous cache aware HTTP / HTTP/2 client called CachingWebClient.

    This client wraps a WebClient and makes it cache aware by adding features to it:

    • Cache-Control header parsing
    • Freshness checking

    The client honors the following cache headers:

    • Cache-Control with the following properties understood:
      • public
      • private
      • no-cache
      • no-store
      • max-age
      • s-maxage
      • stale-if-error
      • staile-while-revalidate
      • must-revalidate
    • Expires
    • ETag
    • Vary

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.