Class ConfluenceRestClientFactorySpec<T>
java.lang.Object
io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<ConfluenceRestClientFactorySpec<T>>
io.github.primelib.confluence4j.rest.v1.ConfluenceRestClientFactorySpec<T>
@Generated("io.github.primelib.primecodegen")
public final class ConfluenceRestClientFactorySpec<T>
extends io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<ConfluenceRestClientFactorySpec<T>>
A specification to construct a client instance.
-
Field Summary
Fields inherited from class io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec
extensions, proxy -
Constructor Summary
ConstructorsConstructorDescriptionConfluenceRestClientFactorySpec(@NotNull Consumer<ConfluenceRestClientFactorySpec<T>> spec) Constructs a validated implementation of the specification. -
Method Summary
Modifier and TypeMethodDescriptionapi()The API interface to useThe API interface to usevoidapplySpec(ConfluenceRestClientFactorySpec<?> spec) @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod> auth()The authentication methods to useThe authentication methods to use@NotNull StringThe name of the backend to usebackendName(@NotNull String backendName) The name of the backend to use@NotNull StringbaseUrl()The api base URLThe api base URLio.github.primelib.primecodegenlib.java.feign.common.auth.BasicAuthSpecio.github.primelib.primecodegenlib.java.feign.common.auth.BearerAuthSpecbearerAuth(Consumer<io.github.primelib.primecodegenlib.java.feign.common.auth.BearerAuthSpec> spec) protected booleanbooleaninthashCode()@NotNull booleaninsecure()insecure disables SSL verificationinsecure(@NotNull boolean insecure) insecure disables SSL verification@NotNull StringlogLevel()the feign log levelthe feign log level@NotNull io.micrometer.core.instrument.MeterRegistryMeterRegistry to use for metricsmeterRegistry(@NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry) MeterRegistry to use for metricstoString()voidvalidate()Ensures the configured specification is valid.Methods inherited from class io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec
extensions, findAndRegisterExtensions, proxy, proxy, registerExtension
-
Constructor Details
-
ConfluenceRestClientFactorySpec
public ConfluenceRestClientFactorySpec(@NotNull @NotNull Consumer<ConfluenceRestClientFactorySpec<T>> spec) Constructs a validated implementation of the specification.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
-
basicAuth
public io.github.primelib.primecodegenlib.java.feign.common.auth.BasicAuthSpec basicAuth(Consumer<io.github.primelib.primecodegenlib.java.feign.common.auth.BasicAuthSpec> spec) -
bearerAuth
public io.github.primelib.primecodegenlib.java.feign.common.auth.BearerAuthSpec bearerAuth(Consumer<io.github.primelib.primecodegenlib.java.feign.common.auth.BearerAuthSpec> spec) -
applySpec
-
backendName
The name of the backend to use -
api
-
baseUrl
The api base URL -
auth
@Nullable public @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod> auth()The authentication methods to use -
meterRegistry
@NotNull public @NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry()MeterRegistry to use for metrics -
logLevel
the feign log levelDefaults to
none. Allowed values are:none,basic,headers,full -
insecure
@NotNull public @NotNull boolean insecure()insecure disables SSL verification -
backendName
The name of the backend to use- Returns:
this.
-
api
The API interface to use- Returns:
this.
-
baseUrl
The api base URL- Returns:
this.
-
auth
public ConfluenceRestClientFactorySpec<T> auth(@Nullable @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod> auth) The authentication methods to use- Returns:
this.
-
meterRegistry
public ConfluenceRestClientFactorySpec<T> meterRegistry(@NotNull @NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry) MeterRegistry to use for metrics- Returns:
this.
-
logLevel
the feign log levelDefaults to
none. Allowed values are:none,basic,headers,full- Returns:
this.
-
insecure
insecure disables SSL verification- Returns:
this.
-
toString
- Overrides:
toStringin classio.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<ConfluenceRestClientFactorySpec<T>>
-
equals
- Overrides:
equalsin classio.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<ConfluenceRestClientFactorySpec<T>>
-
canEqual
- Overrides:
canEqualin classio.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<ConfluenceRestClientFactorySpec<T>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classio.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<ConfluenceRestClientFactorySpec<T>>
-