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
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungBearerAuthSpec
(Consumer<BearerAuthSpec> spec) Constructs a validated implementation ofBearerAuthSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean
boolean
int
hashCode()
@NotNull String
propertyKey
(@NotNull String propertyKey) queryMap()
@NotNull String
token()
the tokenthe tokentoString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missingtemplate for the property value, use {token} as placeholdervalueTemplate
(String valueTemplate) template for the property value, use {token} as placeholder
-
Konstruktordetails
-
BearerAuthSpec
Constructs a validated implementation ofBearerAuthSpec
.- 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 missingIllegalArgumentException
- if a parameter has an invalid value
-
propertyKey
-
valueTemplate
template for the property value, use {token} as placeholder -
token
the token -
propertyKey
- Gibt zurück:
this
.
-
valueTemplate
template for the property value, use {token} as placeholder- Gibt zurück:
this
.
-
token
the token- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
headerMap
- Angegeben von:
headerMap
in Schnittstelleio.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-
queryMap
- Angegeben von:
queryMap
in Schnittstelleio.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-
cookieMap
- Angegeben von:
cookieMap
in Schnittstelleio.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-