
com.nimbusds.oauth2.sdk.Request Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-oidc-sdk Show documentation
Show all versions of oauth2-oidc-sdk Show documentation
OAuth 2.0 SDK with OpenID Connection extensions for developing
client and server applications.
package com.nimbusds.oauth2.sdk;
import java.net.URI;
import com.nimbusds.oauth2.sdk.http.HTTPRequest;
/**
* Request message, serialises to an HTTP request.
*/
public interface Request extends Message {
/**
* Gets the URI of the endpoint (HTTP or HTTPS) for which the request
* is intended.
*
* @return The endpoint URI, {@code null} if not specified.
*/
URI getEndpointURI();
/**
* Returns the matching HTTP request.
*
* @return The HTTP request.
*/
HTTPRequest toHTTPRequest();
}