Class EntityListingRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
com.nimbusds.openid.connect.sdk.federation.api.FederationAPIRequest
com.nimbusds.openid.connect.sdk.federation.api.EntityListingRequest
Entity listing request.
Related specifications:
- OpenID Connect Federation 1.0, section 7.3.1.
-
Constructor Summary
ConstructorsConstructorDescriptionEntityListingRequest
(URI endpoint) Creates a new entity listing request.EntityListingRequest
(URI endpoint, EntityType entityType) Creates a new entity listing request. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the entities to list.static EntityListingRequest
parse
(HTTPRequest httpRequest) Parses an entity listing request from the specified HTTP request.Returns the matching HTTP request.Returns the request parameters.Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURI
-
Constructor Details
-
EntityListingRequest
Creates a new entity listing request.- Parameters:
endpoint
- The federation list endpoint. Must not benull
.
-
EntityListingRequest
Creates a new entity listing request.- Parameters:
endpoint
- The federation list endpoint. Must not benull
.entityType
- The type of the entities to list,null
for all.
-
-
Method Details
-
getEntityType
Returns the type of the entities to list.- Returns:
- The type of the entities to list,
null
for all.
-
toParameters
Description copied from class:FederationAPIRequest
Returns the request parameters.- Specified by:
toParameters
in classFederationAPIRequest
- Returns:
- The request parameters.
-
toHTTPRequest
Description copied from interface:Request
Returns the matching HTTP request.- Specified by:
toHTTPRequest
in interfaceRequest
- Overrides:
toHTTPRequest
in classFederationAPIRequest
- Returns:
- The HTTP request.
-
parse
Parses an entity listing request from the specified HTTP request.- Parameters:
httpRequest
- The HTTP request. Must not benull
.- Returns:
- The entity listing request.
- Throws:
ParseException
- If parsing failed.
-