Interface ClientEndpoint
- All Superinterfaces:
HttpAnnotated,ModelElement,Prototype.Api,RestEndpoint
- All Known Implementing Classes:
ClientEndpoint.BuilderBase.ClientEndpointImpl
Rest endpoint for Typed HTTP client.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forClientEndpoint.static classClientEndpoint.BuilderBase<BUILDER extends ClientEndpoint.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ClientEndpoint> Fluent API builder base forClientEndpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientEndpoint.Builderbuilder()Create a new fluent API builder to customize configuration.static ClientEndpoint.Builderbuilder(ClientEndpoint instance) Create a new fluent API builder from an existing instance.Name of a web client that should be injected and used by the generated typed client.Configuration key to use at runtime.static ClientEndpointcreate()Create a new instance with default values.uri()Configured URI.Methods inherited from interface io.helidon.declarative.codegen.model.http.HttpAnnotated
computedHeaders, consumes, headers, path, producesMethods inherited from interface io.helidon.declarative.codegen.model.http.ModelElement
annotations, typeMethods inherited from interface io.helidon.declarative.codegen.model.http.RestEndpoint
methods
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
uri
String uri()Configured URI.- Returns:
- URI if configured
-
configKey
String configKey()Configuration key to use at runtime.- Returns:
- configuration key to override annotation based values
-
clientName
Name of a web client that should be injected and used by the generated typed client.- Returns:
- rest client name
-