public interface ISSPApi
| Modifier and Type | Method and Description |
|---|---|
<T> org.springframework.http.ResponseEntity<T> |
doRequest(SSPApiRequest<T> request)
Make a request to the SSP REST API.
|
URL |
getSSPUrl(String urlFragment,
boolean useContext)
Get an SSP URL.
|
<T> org.springframework.http.ResponseEntity<T> doRequest(SSPApiRequest<T> request) throws MalformedURLException, org.springframework.web.client.RestClientException
T - The type of the response contentrequest - the SSP RequestMalformedURLException - if the URL is invalidorg.springframework.web.client.RestClientException - if an error occurs communicating with SSPURL getSSPUrl(String urlFragment, boolean useContext) throws MalformedURLException
urlFragment - The URL fragment.useContext - if True, prepend the SSP api context, otherwise just use urlFragment as the pathMalformedURLException - if the URL can not be constructedCopyright © 2017 Jasig. All Rights Reserved.