com.nimbusds.oauth2.sdk
Class AbstractRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
- All Implemented Interfaces:
- Message, Request
- Direct Known Subclasses:
- AuthorizationRequest, ProtectedResourceRequest, TokenRequest
public abstract class AbstractRequest
- extends Object
- implements Request
The base abstract class for requests.
- Author:
- Vladimir Dzhuvinov
Method Summary |
URL |
getURI()
Gets the URI of the endpoint (HTTP or HTTPS) for which the request
is intended. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRequest
public AbstractRequest(URL uri)
- Creates a new base abstract request.
- Parameters:
uri
- The URI of the endpoint (HTTP or HTTPS) for which the
request is intended. May be null
if the
Request.toHTTPRequest()
method will not be used.
getURI
public URL getURI()
- Description copied from interface:
Request
- Gets the URI of the endpoint (HTTP or HTTPS) for which the request
is intended.
- Specified by:
getURI
in interface Request
- Returns:
- The endpoint URI,
null
if not specified.
Copyright © 2013 NimbusDS. All Rights Reserved.