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
ConstructorsModifierConstructorDescriptionprotectedSingleSupplier(ClientUri clientUri) Creates a single supplier. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientUriSupplier
iteratorMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Iterator
forEachRemaining, remove
-
Constructor Details
-
SingleSupplier
Creates a single supplier.- Parameters:
clientUri- the client URI to use
-
-
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
-
next
-