Class FederationAPIRequest
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.AbstractRequest
-
- com.nimbusds.openid.connect.sdk.federation.api.FederationAPIRequest
-
- Direct Known Subclasses:
EntityListingRequest
,FetchEntityStatementRequest
,TrustNegotiationRequest
public abstract class FederationAPIRequest extends AbstractRequest
Federation API request.Related specifications:
- OpenID Connect Federation 1.0, section 6.
-
-
Constructor Summary
Constructors Constructor Description FederationAPIRequest(URI endpoint, OperationType operationType)
Creates a new federation API request.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OperationType
getOperationType()
Returns the requested operation type.HTTPRequest
toHTTPRequest()
Returns the matching HTTP request.abstract Map<String,List<String>>
toParameters()
Returns the request query parameters.-
Methods inherited from class com.nimbusds.oauth2.sdk.AbstractRequest
getEndpointURI
-
-
-
-
Constructor Detail
-
FederationAPIRequest
public FederationAPIRequest(URI endpoint, OperationType operationType)
Creates a new federation API request.- Parameters:
endpoint
- The federation API endpoint. Must not benull
.operationType
- The requested operation type. Must not benull
.
-
-
Method Detail
-
getOperationType
public OperationType getOperationType()
Returns the requested operation type.- Returns:
- The operation type.
-
toParameters
public abstract Map<String,List<String>> toParameters()
Returns the request query parameters.- Returns:
- The request query parameters.
-
toHTTPRequest
public HTTPRequest toHTTPRequest()
Description copied from interface:Request
Returns the matching HTTP request.- Returns:
- The HTTP request.
-
-