Class TrustMarkStatusResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.TrustMarkStatusResponse
- Direct Known Subclasses:
TrustMarkStatusErrorResponse
,TrustMarkStatusSuccessResponse
Trust mark status response.
Related specifications:
- OpenID Connect Federation 1.0, sections 7.4.2 and 7.5.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustMarkStatusResponse
parse
(HTTPResponse httpResponse) Parses a trust mark status response from the specified HTTP response.Casts this response to a trust mark status error response.Casts this response to a trust mark status success response.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nimbusds.oauth2.sdk.Response
indicatesSuccess, toHTTPResponse
-
Constructor Details
-
TrustMarkStatusResponse
public TrustMarkStatusResponse()
-
-
Method Details
-
toSuccessResponse
Casts this response to a trust mark status success response.- Returns:
- The trust mark status success response.
-
toErrorResponse
Casts this response to a trust mark status error response.- Returns:
- The trust mark status error response.
-
parse
Parses a trust mark status response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The trust mark status response.
- Throws:
ParseException
- If parsing failed.
-