com.nimbusds.oauth2.sdk
Interface Request

All Superinterfaces:
Message
All Known Implementing Classes:
AbstractRequest, AccessTokenRequest, AuthorizationRequest, ClientDeleteRequest, ClientReadRequest, ClientRegistrationRequest, ClientUpdateRequest, OIDCAuthorizationRequest, OIDCClientRegistrationRequest, OIDCClientUpdateRequest, ProtectedResourceRequest, RefreshTokenRequest, TokenRequest, UserInfoRequest

public interface Request
extends Message

Request message, serialises to an HTTP request.

Author:
Vladimir Dzhuvinov

Method Summary
 URL getURI()
          Gets the URI of the endpoint (HTTP or HTTPS) for which the request is intended.
 HTTPRequest toHTTPRequest()
          Returns the matching HTTP request.
 

Method Detail

getURI

URL getURI()
Gets the URI of the endpoint (HTTP or HTTPS) for which the request is intended.

Returns:
The endpoint URI, null if not specified.

toHTTPRequest

HTTPRequest toHTTPRequest()
                          throws SerializeException
Returns the matching HTTP request.

Returns:
The HTTP request.
Throws:
SerializeException - If the request message couldn't be serialised to an HTTP request.


Copyright © 2013 NimbusDS. All Rights Reserved.