public abstract class ProtectedResourceRequest extends AbstractRequest
Related specifications:
| Modifier | Constructor and Description |
|---|---|
protected |
ProtectedResourceRequest(URL uri,
AccessToken accessToken)
Creates a new protected resource request.
|
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
getAccessToken()
Gets the OAuth 2.0 access token for this protected resource request.
|
getURIclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoHTTPRequestprotected ProtectedResourceRequest(URL uri, AccessToken accessToken)
uri - The URI of the protected resource. May be
null if the Request.toHTTPRequest()
method will not be used.accessToken - An OAuth 2.0 access token for the request,
null if none.public AccessToken getAccessToken()
null if none.Copyright © 2013 NimbusDS. All Rights Reserved.