Klasse BearerAuthSpec

java.lang.Object
io.github.primelib.jira4j.restv2.auth.BearerAuthSpec
Alle implementierten Schnittstellen:
io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod

public class BearerAuthSpec extends Object implements io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
  • Konstruktordetails

    • BearerAuthSpec

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

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException - if a required parameter is missing
      IllegalArgumentException - if a parameter has an invalid value
    • propertyKey

      @NotNull public @NotNull String propertyKey()
    • valueTemplate

      public String valueTemplate()
      template for the property value, use {token} as placeholder
    • token

      @NotNull public @NotNull String token()
      the token
    • propertyKey

      public BearerAuthSpec propertyKey(@NotNull @NotNull String propertyKey)
      Gibt zurück:
      this.
    • valueTemplate

      public BearerAuthSpec valueTemplate(String valueTemplate)
      template for the property value, use {token} as placeholder
      Gibt zurück:
      this.
    • token

      public BearerAuthSpec token(@NotNull @NotNull String token)
      the token
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • headerMap

      public Map<String,String> headerMap()
      Angegeben von:
      headerMap in Schnittstelle io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
    • queryMap

      public Map<String,String> queryMap()
      Angegeben von:
      queryMap in Schnittstelle io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
    • cookieMap

      public Map<String,String> cookieMap()
      Angegeben von:
      cookieMap in Schnittstelle io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod