Class ClientUriSuppliers.SingleSupplier

java.lang.Object
io.helidon.webclient.grpc.ClientUriSuppliers.SingleSupplier
All Implemented Interfaces:
ClientUriSupplier, Iterable<io.helidon.webclient.api.ClientUri>, Iterator<io.helidon.webclient.api.ClientUri>
Enclosing class:
ClientUriSuppliers

public static class ClientUriSuppliers.SingleSupplier extends Object implements ClientUriSupplier
Supplies the same client URI over and over, never ends.
  • Constructor Details

    • SingleSupplier

      protected SingleSupplier(io.helidon.webclient.api.ClientUri clientUri)
  • Method Details

    • create

      public static ClientUriSuppliers.SingleSupplier create(String clientUri)
      Creates a single supplier.
      Parameters:
      clientUri - the client URI as a string
      Returns:
      new supplier
    • create

      public static ClientUriSuppliers.SingleSupplier create(io.helidon.webclient.api.ClientUri clientUri)
      Creates a single supplier.
      Parameters:
      clientUri - the client URI
      Returns:
      new supplier
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<io.helidon.webclient.api.ClientUri>
    • next

      public io.helidon.webclient.api.ClientUri next()
      Specified by:
      next in interface Iterator<io.helidon.webclient.api.ClientUri>