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 URIgetEndpointURI()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,nullif not specified (if, for example, theRequest.toHTTPRequest()method will not be used).
-
-
Method Detail
-
getEndpointURI
public URI getEndpointURI()
Description copied from interface:RequestGets the URI of the endpoint (HTTP or HTTPS) for which the request is intended.- Specified by:
getEndpointURIin interfaceRequest- Returns:
- The endpoint URI,
nullif not specified.
-
-