Class ResolveResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.ResolveResponse
- Direct Known Subclasses:
ResolveErrorResponse
,ResolveSuccessResponse
Resolve entity statement response.
Related specifications:
- OpenID Connect Federation 1.0, sections 7.5.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolveResponse
parse
(HTTPResponse httpResponse) Parses a resolve entity statement response from the specified HTTP response.Casts this response to a resolve entity statement error response.Casts this response to a resolve entity statement 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
-
ResolveResponse
public ResolveResponse()
-
-
Method Details
-
toSuccessResponse
Casts this response to a resolve entity statement success response.- Returns:
- The resolve entity statement success response.
-
toErrorResponse
Casts this response to a resolve entity statement error response.- Returns:
- The resolve entity statement error response.
-
parse
Parses a resolve entity statement response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The resolve entity statement response.
- Throws:
ParseException
- If parsing failed.
-