Class FetchEntityStatementSuccessResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.FetchEntityStatementResponse
com.nimbusds.openid.connect.sdk.federation.api.FetchEntityStatementSuccessResponse
Fetch entity statement success response.
Related specifications:
- OpenID Connect Federation 1.0, section 7.1.2.
-
Constructor Summary
ConstructorsConstructorDescriptionFetchEntityStatementSuccessResponse
(EntityStatement entityStatement) Creates a new fetch entity statement success response. -
Method Summary
Modifier and TypeMethodDescriptionReturns the entity statement.boolean
Checks if the response indicates success.parse
(HTTPResponse httpResponse) Parses a fetch entity statement success response from the specified HTTP response.Returns the matching HTTP response.Methods inherited from class com.nimbusds.openid.connect.sdk.federation.api.FetchEntityStatementResponse
toErrorResponse, toSuccessResponse
-
Constructor Details
-
FetchEntityStatementSuccessResponse
Creates a new fetch entity statement success response.- Parameters:
entityStatement
- The entity statement. Must not benull
.
-
-
Method Details
-
getEntityStatement
Returns the entity statement. No signature or expiration validation is performed.- Returns:
- The entity statement.
-
indicatesSuccess
Description copied from interface:Response
Checks if the response indicates success.- Returns:
true
if the response indicates success, elsefalse
.
-
toHTTPResponse
Description copied from interface:Response
Returns the matching HTTP response.- Returns:
- The HTTP response.
-
parse
public static FetchEntityStatementSuccessResponse parse(HTTPResponse httpResponse) throws ParseException Parses a fetch entity statement success response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The fetch entity statement success response.
- Throws:
ParseException
- If parsing failed.
-