Class DelegatedAssetRequest
- java.lang.Object
-
- org.oa4mp.delegation.client.request.BasicRequest
-
- org.oa4mp.delegation.client.request.DelegatedAssetRequest
-
- All Implemented Interfaces:
Request
public class DelegatedAssetRequest extends BasicRequest
Get an asset using delegation.Created by Jeff Gaynor
on Apr 15, 2011 at 11:12:03 AM
-
-
Constructor Summary
Constructors Constructor Description DelegatedAssetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
getAssetParameters()
These are passed to the resource server in the protected asset request.AuthorizationGrant
getAuthorizationGrant()
Verifier
getVerifier()
boolean
isRfc8628()
Response
process(Server server)
Process the requestvoid
setAssetParameters(Map assetParameters)
void
setAuthorizationGrant(AuthorizationGrant authorizationGrant)
void
setRfc8628(boolean rfc8628)
void
setVerifier(Verifier verifier)
-
Methods inherited from class org.oa4mp.delegation.client.request.BasicRequest
getClient, getKeyID, getParameters, hasKeyID, setClient, setKeyID, setParameters
-
-
-
-
Method Detail
-
process
public Response process(Server server)
Description copied from interface:Request
Process the request- Specified by:
process
in interfaceRequest
- Overrides:
process
in classBasicRequest
- Returns:
-
getAuthorizationGrant
public AuthorizationGrant getAuthorizationGrant()
-
setAuthorizationGrant
public void setAuthorizationGrant(AuthorizationGrant authorizationGrant)
-
getVerifier
public Verifier getVerifier()
-
setVerifier
public void setVerifier(Verifier verifier)
-
getAssetParameters
public Map getAssetParameters()
These are passed to the resource server in the protected asset request. TheBasicRequest.getParameters()
are passed to the authorization server.- Returns:
-
setAssetParameters
public void setAssetParameters(Map assetParameters)
-
isRfc8628
public boolean isRfc8628()
-
setRfc8628
public void setRfc8628(boolean rfc8628)
-
-