Klasse WebMethodsAPIGatewayClientFactorySpec<T>

java.lang.Object
io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<WebMethodsAPIGatewayClientFactorySpec<T>>
io.github.primelib.webmethodsapigateway4j.WebMethodsAPIGatewayClientFactorySpec<T>

@Generated("io.github.primelib.primecodegen") public final class WebMethodsAPIGatewayClientFactorySpec<T> extends io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<WebMethodsAPIGatewayClientFactorySpec<T>>
A specification to construct a client instance.
  • Konstruktordetails

    • WebMethodsAPIGatewayClientFactorySpec

      public WebMethodsAPIGatewayClientFactorySpec(@NotNull @NotNull Consumer<WebMethodsAPIGatewayClientFactorySpec<T>> spec)
      Constructs a validated implementation of the specification.
      Parameter:
      spec - the specification to process
  • Methodendetails

    • validate

      public void validate()
      Ensures the configured specification is valid.
      Löst aus:
      NullPointerException
    • basicAuth

      public io.github.primelib.primecodegenlib.java.feign.common.auth.BasicAuthSpec basicAuth(Consumer<io.github.primelib.primecodegenlib.java.feign.common.auth.BasicAuthSpec> spec)
    • applySpec

      @Internal public void applySpec(WebMethodsAPIGatewayClientFactorySpec<?> spec)
    • backendName

      @NotNull public @NotNull String backendName()
      The name of the backend to use
    • api

      @NotNull public @NotNull Class<T> api()
      The API interface to use
    • baseUrl

      @NotNull public @NotNull String 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

      @NotNull public @NotNull String logLevel()
      the feign log level

      Defaults to none. Allowed values are: none, basic, headers, full

    • insecure

      @NotNull public @NotNull boolean insecure()
      insecure disables SSL verification
    • backendName

      public WebMethodsAPIGatewayClientFactorySpec<T> backendName(@NotNull @NotNull String backendName)
      The name of the backend to use
      Gibt zurück:
      this.
    • api

      public WebMethodsAPIGatewayClientFactorySpec<T> api(@NotNull @NotNull Class<T> api)
      The API interface to use
      Gibt zurück:
      this.
    • baseUrl

      public WebMethodsAPIGatewayClientFactorySpec<T> baseUrl(@NotNull @NotNull String baseUrl)
      The api base URL
      Gibt zurück:
      this.
    • auth

      public WebMethodsAPIGatewayClientFactorySpec<T> auth(@Nullable @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod> auth)
      The authentication methods to use
      Gibt zurück:
      this.
    • meterRegistry

      public WebMethodsAPIGatewayClientFactorySpec<T> meterRegistry(@NotNull @NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry)
      MeterRegistry to use for metrics
      Gibt zurück:
      this.
    • logLevel

      public WebMethodsAPIGatewayClientFactorySpec<T> logLevel(@NotNull @NotNull String logLevel)
      the feign log level

      Defaults to none. Allowed values are: none, basic, headers, full

      Gibt zurück:
      this.
    • insecure

      public WebMethodsAPIGatewayClientFactorySpec<T> insecure(@NotNull @NotNull boolean insecure)
      insecure disables SSL verification
      Gibt zurück:
      this.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<WebMethodsAPIGatewayClientFactorySpec<T>>
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<WebMethodsAPIGatewayClientFactorySpec<T>>
    • canEqual

      protected boolean canEqual(Object other)
      Setzt außer Kraft:
      canEqual in Klasse io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<WebMethodsAPIGatewayClientFactorySpec<T>>
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse io.github.primelib.primecodegenlib.java.feign.common.config.FeignModuleSpec<WebMethodsAPIGatewayClientFactorySpec<T>>