Module io.helidon.webclient.grpc
Package io.helidon.webclient.grpc
Class ClientUriSuppliers.SingleSupplier
java.lang.Object
io.helidon.webclient.grpc.ClientUriSuppliers.SingleSupplier
- All Implemented Interfaces:
ClientUriSupplier
,Iterable<ClientUri>
,Iterator<ClientUri>
- Enclosing class:
ClientUriSuppliers
Supplies the same client URI over and over, never ends.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.webclient.grpc.ClientUriSupplier
iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
SingleSupplier
-
-
Method Details
-
create
Creates a single supplier.- Parameters:
clientUri
- the client URI as a string- Returns:
- new supplier
-
create
Creates a single supplier.- Parameters:
clientUri
- the client URI- Returns:
- new supplier
-
hasNext
public boolean hasNext() -
next
-