com.nimbusds.oauth2.sdk
Class AbstractRequest

java.lang.Object
  extended by 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

Constructor Summary
AbstractRequest(URL uri)
          Creates a new base abstract request.
 
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
 
Methods inherited from interface com.nimbusds.oauth2.sdk.Request
toHTTPRequest
 

Constructor Detail

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.
Method Detail

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.