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.
|
java.net.URL |
getSSPUrl(java.lang.String urlFragment,
boolean useContext)
Get an SSP URL.
|
<T> org.springframework.http.ResponseEntity<T> doRequest(SSPApiRequest<T> request) throws java.net.MalformedURLException, org.springframework.web.client.RestClientException
T - The type of the response contentrequest - the SSP Requestjava.net.MalformedURLException - if the URL is invalidorg.springframework.web.client.RestClientException - if an error occurs communicating with SSPjava.net.URL getSSPUrl(java.lang.String urlFragment,
boolean useContext)
throws java.net.MalformedURLException
urlFragment - The URL fragment.useContext - if True, prepend the SSP api context, otherwise just use urlFragment as the pathjava.net.MalformedURLException - if the URL can not be constructed