Class FederationEntityConfigurationResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationResponse
- Direct Known Subclasses:
FederationEntityConfigurationErrorResponse
,FederationEntityConfigurationSuccessResponse
Federation entity configuration response.
Related specifications:
- OpenID Connect Federation 1.0, section 6.2.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse
(HTTPResponse httpResponse) Parses a federation entity configuration response from the specified HTTP response.Casts this response to a federation entity configuration error response.Casts this response to a federation entity configuration 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
-
FederationEntityConfigurationResponse
-
-
Method Details
-
toSuccessResponse
Casts this response to a federation entity configuration success response.- Returns:
- The federation entity configuration success response.
-
toErrorResponse
Casts this response to a federation entity configuration error response.- Returns:
- The federation entity configuration error response.
-
parse
public static FederationEntityConfigurationResponse parse(HTTPResponse httpResponse) throws ParseException Parses a federation entity configuration response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The federation entity configuration success or error response.
- Throws:
ParseException
- If the HTTP response couldn't be parsed to a federation entity configuration response.
-