Package org.craftercms.commons.rest
Class AbstractRestClientBase
- java.lang.Object
-
- org.craftercms.commons.rest.AbstractRestClientBase
-
public abstract class AbstractRestClientBase extends Object
Base class for all Crafter REST clients.- Author:
- avasquez
-
-
Field Summary
Fields Modifier and Type Field Description protected String
baseUrl
protected String
extension
protected org.springframework.web.client.RestTemplate
restTemplate
-
Constructor Summary
Constructors Constructor Description AbstractRestClientBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getAbsoluteUrl(String relativeUrl)
void
setBaseUrl(String baseUrl)
void
setExtension(String extension)
void
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-