package org.gcube.common.calls.jaxrs; import javax.ws.rs.client.WebTarget; /** * Simple DSL for the {@link StubFactory} * * @author Fabio Simeoni * */ public interface TargetFactoryDSL { /** * Selects the address of the service endpoint or service instance. * * @author Fabio Simeoni * * @param */ interface AtClause { /** * Returns a stub for a service endpoint at a given address. * @param address the address * @return the stub */ WebTarget at(String address); } }