Class Http2ConnectionCache

java.lang.Object
io.helidon.webclient.spi.ClientConnectionCache
io.helidon.webclient.http2.Http2ConnectionCache
All Implemented Interfaces:
io.helidon.common.resumable.Resumable, io.helidon.webclient.api.ReleasableResource

public final class Http2ConnectionCache extends io.helidon.webclient.spi.ClientConnectionCache
A cache of HTTP2 connections.
  • Method Details

    • shared

      public static Http2ConnectionCache shared()
      Returns a reference to the shared connection cache.
      Returns:
      shared connection cache
    • create

      public static Http2ConnectionCache create()
      Creates a fresh connection cache.
      Returns:
      new connection cache
    • evict

      protected void evict()
      Specified by:
      evict in class io.helidon.webclient.spi.ClientConnectionCache
    • closeResource

      public void closeResource()