Package com.nimbusds.oauth2.sdk
Class AbstractRequest
java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
- Direct Known Subclasses:
AbstractAuthenticatedRequest,AbstractConfigurationRequest,AbstractOptionallyAuthenticatedRequest,AuthorizationRequest,BackChannelLogoutRequest,ExplicitClientRegistrationRequest,FederationAPIRequest,LogoutRequest,ProtectedResourceRequest
The base abstract class for requests.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractRequest(URI uri) Creates a new base abstract request. -
Method Summary
Modifier and TypeMethodDescriptionGets 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, waitMethods inherited from interface com.nimbusds.oauth2.sdk.Request
toHTTPRequest
-
Constructor Details
-
AbstractRequest
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 Details
-
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.
-