Class ResolveErrorResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.ResolveResponse
com.nimbusds.openid.connect.sdk.federation.api.ResolveErrorResponse
Trust negotiation error response.
Related specifications:
- OpenID Connect Federation 1.0, sections 6.2.2 and 6.4.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new resolve entity statement error response. -
Method Summary
Modifier and TypeMethodDescriptionReturns the federation API error.booleanChecks if the response indicates success.static ResolveErrorResponseparse(HTTPResponse httpResponse) Parses a resolve entity statement error response from the specified HTTP response.Returns the matching HTTP response.Methods inherited from class com.nimbusds.openid.connect.sdk.federation.api.ResolveResponse
toErrorResponse, toSuccessResponse
-
Constructor Details
-
ResolveErrorResponse
Creates a new resolve entity statement 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:ResponseChecks if the response indicates success.- Returns:
trueif the response indicates success, elsefalse.
-
toHTTPResponse
Description copied from interface:ResponseReturns the matching HTTP response.- Returns:
- The HTTP response.
-
parse
Parses a resolve entity statement error response from the specified HTTP response.- Parameters:
httpResponse- The HTTP response. Must not benull.- Returns:
- The resolve entity statement error response.
- Throws:
ParseException- If parsing failed.
-