Klasse BearerAuthSpec
java.lang.Object
io.github.primelib.jira4j.restv3.auth.BearerAuthSpec
- Alle implementierten Schnittstellen:
AuthMethod
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungBearerAuthSpec(Consumer<BearerAuthSpec> spec) Constructs a validated implementation ofBearerAuthSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleaninthashCode()@NotNull StringpropertyKey(@NotNull String propertyKey) queryMap()@NotNull Stringtoken()the tokenthe tokentoString()voidvalidate()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:
headerMapin SchnittstelleAuthMethod
-
queryMap
- Angegeben von:
queryMapin SchnittstelleAuthMethod
-
cookieMap
- Angegeben von:
cookieMapin SchnittstelleAuthMethod
-