Class EntityListingResponse
java.lang.Object
com.nimbusds.openid.connect.sdk.federation.api.EntityListingResponse
- Direct Known Subclasses:
EntityListingErrorResponse
,EntityListingSuccessResponse
Entity listing response.
Related specifications:
- OpenID Connect Federation 1.0, sections 7.3.2 and 7.5.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityListingResponse
parse
(HTTPResponse httpResponse) Parses an entity listing response from the specified HTTP response.Casts this response to an entity listing error response.Casts this response to an entity listing success response.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nimbusds.oauth2.sdk.Response
indicatesSuccess, toHTTPResponse
-
Constructor Details
-
EntityListingResponse
public EntityListingResponse()
-
-
Method Details
-
toSuccessResponse
Casts this response to an entity listing success response.- Returns:
- The entity listing success response.
-
toErrorResponse
Casts this response to an entity listing error response.- Returns:
- The entity listing error response.
-
parse
Parses an entity listing response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The entity listing response.
- Throws:
ParseException
- If parsing failed.
-