Class Http2ConnectionCache

java.lang.Object
io.helidon.webclient.spi.ClientConnectionCache
io.helidon.webclient.http2.Http2ConnectionCache
All Implemented Interfaces:
ReleasableResource

public final class Http2ConnectionCache extends 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
    • closeResource

      public void closeResource()
      Description copied from interface: ReleasableResource
      Closes the resource, we cannot use name close, as that would conflict with AutoCloseable, as we do not want to have a checked exception thrown.