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 7.3.2.
-
Constructor Summary
ConstructorsConstructorDescriptionEntityListingSuccessResponse
(List<EntityID> entityIDS) Creates a new entity listing success response. -
Method Summary
Modifier and TypeMethodDescriptionReturns the entity IDs.boolean
Checks if the response indicates success.static EntityListingSuccessResponse
parse
(HTTPResponse httpResponse) Parses an entity listing success response from the specified HTTP response.static EntityListingSuccessResponse
parse
(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: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
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.
-