Class TrustMarkStatusErrorResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.TrustMarkStatusResponse
com.nimbusds.openid.connect.sdk.federation.api.TrustMarkStatusErrorResponse
Trust mark status error response.
Related specifications:
- OpenID Connect Federation 1.0, section 7.5.
-
Constructor Summary
ConstructorDescriptionCreates a new trust mark status error response. -
Method Summary
Modifier and TypeMethodDescriptionReturns the federation API error.boolean
Checks if the response indicates success.static TrustMarkStatusErrorResponse
parse
(HTTPResponse httpResponse) Parses a trust mark status error response from the specified HTTP response.Returns the matching HTTP response.Methods inherited from class com.nimbusds.openid.connect.sdk.federation.api.TrustMarkStatusResponse
toErrorResponse, toSuccessResponse
-
Constructor Details
-
TrustMarkStatusErrorResponse
Creates a new trust mark status error response.- Parameters:
error
- The federation API error. Must not benull
.
-
-
Method Details
-
getErrorObject
Returns the federation API error.- Returns:
- The federation API error.
-
indicatesSuccess
Description copied from interface:Response
Checks if the response indicates success.- Returns:
true
if the response indicates success, elsefalse
.
-
toHTTPResponse
Description copied from interface:Response
Returns the matching HTTP response.- Returns:
- The HTTP response.
-
parse
Parses a trust mark status error response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The trust mark status error response.
- Throws:
ParseException
- If parsing failed.
-