Package org.gcube.common.calls.jaxrs
Class GcubeServiceBuilder
java.lang.Object
org.gcube.common.calls.jaxrs.GcubeServiceBuilder
- All Implemented Interfaces:
GcubeServiceBuilderDSL.NameClause,GcubeServiceBuilderDSL.StubClause
public class GcubeServiceBuilder
extends Object
implements GcubeServiceBuilderDSL.NameClause, GcubeServiceBuilderDSL.StubClause
Builds
GcubeService instances.- Author:
- Fabio Simeoni
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the service path.Uses the root path for the service.Sets the qualified name of the target service.
-
Constructor Details
-
GcubeServiceBuilder
public GcubeServiceBuilder()
-
-
Method Details
-
withName
Description copied from interface:GcubeServiceBuilderDSL.NameClauseSets the qualified name of the target service.- Specified by:
withNamein interfaceGcubeServiceBuilderDSL.NameClause- Parameters:
name- the qualified name of the target service- Returns:
- the next clause
-
andPath
Description copied from interface:GcubeServiceBuilderDSL.StubClauseSets the service path.- Specified by:
andPathin interfaceGcubeServiceBuilderDSL.StubClause- Parameters:
path- the service path- Returns:
- the
GcubeServicethat describes the target service.
-
useRootPath
Description copied from interface:GcubeServiceBuilderDSL.StubClauseUses the root path for the service.- Specified by:
useRootPathin interfaceGcubeServiceBuilderDSL.StubClause- Returns:
- the
GcubeServicethat describes the target service.
-