Package com.nimbusds.oauth2.sdk
Class AbstractRequest
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.AbstractRequest
-
- Direct Known Subclasses:
AbstractOptionallyAuthenticatedRequest
,AuthorizationRequest
,AuthorizationServerConfigurationRequest
,BackChannelLogoutRequest
,LogoutRequest
,OIDCProviderConfigurationRequest
,ProtectedResourceRequest
public abstract class AbstractRequest extends Object implements Request
The base abstract class for requests.
-
-
Constructor Summary
Constructors Constructor Description AbstractRequest(URI uri)
Creates a new base abstract request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getEndpointURI()
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(URI uri)
Creates a new base abstract request.- Parameters:
uri
- The URI of the endpoint (HTTP or HTTPS) for which the request is intended,null
if not specified (if, for example, theRequest.toHTTPRequest()
method will not be used).
-
-
Method Detail
-
getEndpointURI
public URI getEndpointURI()
Description copied from interface:Request
Gets the URI of the endpoint (HTTP or HTTPS) for which the request is intended.- Specified by:
getEndpointURI
in interfaceRequest
- Returns:
- The endpoint URI,
null
if not specified.
-
-