Class WarlockApiAuthProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = WarlockApiAuthProp.Key) public class WarlockApiAuthProp
wings-warlock-apiauth-77.properties
- Since:
2021-02-17
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic StringclientHeaderpublic final static StringKey$clientHeaderpublic StringsignatureHeaderpublic final static StringKey$signatureHeaderpublic StringtimestampHeaderpublic final static StringKey$timestampHeaderpublic StringdigestHeaderpublic final static StringKey$digestHeaderpublic DataSizedigestMaxpublic final static StringKey$digestMaxpublic StringfileJsonBodypublic final static StringKey$fileJsonBodypublic SimpleResponseerrorClientpublic final static StringKey$errorClientpublic SimpleResponseerrorSignaturepublic final static StringKey$errorSignaturepublic SimpleResponseerrorUnhandledpublic final static StringKey$errorUnhandled
-
Constructor Summary
Constructors Constructor Description WarlockApiAuthProp()
-
Method Summary
Modifier and Type Method Description StringgetClientHeader()Header name of Client Id voidsetClientHeader(String clientHeader)Header name of Client Id StringgetSignatureHeader()Header name of Message Signature voidsetSignatureHeader(String signatureHeader)Header name of Message Signature StringgetTimestampHeader()Header name of Request Timestamp voidsetTimestampHeader(String timestampHeader)Header name of Request Timestamp StringgetDigestHeader()Header name of Response Body Digest voidsetDigestHeader(String digestHeader)Header name of Response Body Digest DataSizegetDigestMax()no digest over this size, default 5M. voidsetDigestMax(DataSize digestMax)no digest over this size, default 5M. StringgetFileJsonBody()if there is both a file and a json, use this name for the json body and submit it as a File. voidsetFileJsonBody(String fileJsonBody)if there is both a file and a json, use this name for the json body and submit it as a File. SimpleResponsegetErrorClient()response of client error voidsetErrorClient(SimpleResponse errorClient)response of client error SimpleResponsegetErrorSignature()response of signature error voidsetErrorSignature(SimpleResponse errorSignature)response of signature error SimpleResponsegetErrorUnhandled()response of unhandled error voidsetErrorUnhandled(SimpleResponse errorUnhandled)response of unhandled error booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
Method Detail
-
getClientHeader
String getClientHeader()
Header name of Client Id
-
setClientHeader
void setClientHeader(String clientHeader)
Header name of Client Id
-
getSignatureHeader
String getSignatureHeader()
Header name of Message Signature
-
setSignatureHeader
void setSignatureHeader(String signatureHeader)
Header name of Message Signature
-
getTimestampHeader
String getTimestampHeader()
Header name of Request Timestamp
-
setTimestampHeader
void setTimestampHeader(String timestampHeader)
Header name of Request Timestamp
-
getDigestHeader
String getDigestHeader()
Header name of Response Body Digest
-
setDigestHeader
void setDigestHeader(String digestHeader)
Header name of Response Body Digest
-
getDigestMax
DataSize getDigestMax()
no digest over this size, default 5M.
-
setDigestMax
void setDigestMax(DataSize digestMax)
no digest over this size, default 5M.
-
getFileJsonBody
String getFileJsonBody()
if there is both a file and a json, use this name for the json body and submit it as a File.
-
setFileJsonBody
void setFileJsonBody(String fileJsonBody)
if there is both a file and a json, use this name for the json body and submit it as a File.
-
getErrorClient
SimpleResponse getErrorClient()
response of client error
-
setErrorClient
void setErrorClient(SimpleResponse errorClient)
response of client error
-
getErrorSignature
SimpleResponse getErrorSignature()
response of signature error
-
setErrorSignature
void setErrorSignature(SimpleResponse errorSignature)
response of signature error
-
getErrorUnhandled
SimpleResponse getErrorUnhandled()
response of unhandled error
-
setErrorUnhandled
void setErrorUnhandled(SimpleResponse errorUnhandled)
response of unhandled error
-
hashCode
int hashCode()
-
-
-
-