Class FederationEntityConfigurationErrorResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationResponse
com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationErrorResponse
- All Implemented Interfaces:
ErrorResponse
,Message
,Response
public class FederationEntityConfigurationErrorResponse
extends FederationEntityConfigurationResponse
implements ErrorResponse
Federation entity configuration error response.
Related specifications:
- OpenID Connect Federation 1.0, section 6.2.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new federation entity configuration error response. -
Method Summary
Modifier and TypeMethodDescriptionGets the error associated with the error response.boolean
Checks if the response indicates success.parse
(HTTPResponse httpResponse) Parses a federation entity configuration error response from the specified HTTP response.Returns the matching HTTP response.Methods inherited from class com.nimbusds.openid.connect.sdk.federation.config.FederationEntityConfigurationResponse
toErrorResponse, toSuccessResponse
-
Constructor Details
-
FederationEntityConfigurationErrorResponse
Creates a new federation entity configuration error response.- Parameters:
error
- The error. Must not benull
.
-
-
Method Details
-
indicatesSuccess
Description copied from interface:Response
Checks if the response indicates success.- Specified by:
indicatesSuccess
in interfaceResponse
- Returns:
true
if the response indicates success, elsefalse
.
-
getErrorObject
Description copied from interface:ErrorResponse
Gets the error associated with the error response.- Specified by:
getErrorObject
in interfaceErrorResponse
- Returns:
- The error,
null
if none.
-
toHTTPResponse
Description copied from interface:Response
Returns the matching HTTP response.- Specified by:
toHTTPResponse
in interfaceResponse
- Returns:
- The HTTP response.
-
parse
public static FederationEntityConfigurationErrorResponse parse(HTTPResponse httpResponse) throws ParseException Parses a federation entity configuration error response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The federation entity configuration error response.
- Throws:
ParseException
- If the HTTP response couldn't be parsed to a federation entity configuration error response.
-