Class AbstractRequest

java.lang.Object
com.nimbusds.oauth2.sdk.AbstractRequest
All Implemented Interfaces:
Message, Request
Direct Known Subclasses:
AbstractAuthenticatedRequest, AbstractConfigurationRequest, AbstractOptionallyAuthenticatedRequest, AuthorizationRequest, BackChannelLogoutRequest, ExplicitClientRegistrationRequest, FederationAPIRequest, LogoutRequest, ProtectedResourceRequest

public abstract class AbstractRequest extends Object implements Request
The base abstract class for requests.
  • Constructor Details

    • AbstractRequest

      protected 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, the Request.toHTTPRequest() method will not be used).
  • Method Details

    • 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 interface Request
      Returns:
      The endpoint URI, null if not specified.