Class EntityListingSuccessResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.EntityListingResponse
com.nimbusds.openid.connect.sdk.federation.api.EntityListingSuccessResponse
Entity listing success response.
Related specifications:
- OpenID Connect Federation 1.0, section 6.3.2.
-
Constructor Summary
ConstructorsConstructorDescriptionEntityListingSuccessResponse(List<EntityID> entityIDS) Creates a new entity listing success response. -
Method Summary
Modifier and TypeMethodDescriptionReturns the entity IDs.booleanChecks if the response indicates success.static EntityListingSuccessResponseparse(HTTPResponse httpResponse) Parses an entity listing success response from the specified HTTP response.static EntityListingSuccessResponseparse(net.minidev.json.JSONArray jsonArray) Parses an entity listing success response from the specified JSON array.Returns the matching HTTP response.Methods inherited from class com.nimbusds.openid.connect.sdk.federation.api.EntityListingResponse
toErrorResponse, toSuccessResponse
-
Constructor Details
-
EntityListingSuccessResponse
Creates a new entity listing success response.- Parameters:
entityIDS- The entity IDs. Must not benull.
-
-
Method Details
-
getEntityListing
Returns the entity IDs.- Returns:
- The entity IDs.
-
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 an entity listing success response from the specified JSON array.- Parameters:
jsonArray- The JSON array. Must not benull.- Returns:
- The entity listing success response.
-
parse
Parses an entity listing success response from the specified HTTP response.- Parameters:
httpResponse- The HTTP response. Must not benull.- Returns:
- The entity listing success response.
- Throws:
ParseException- If parsing failed.
-