Class CudamiLocalesClient
- java.lang.Object
-
- de.digitalcollections.cudami.client.CudamiBaseClient<Locale>
-
- de.digitalcollections.cudami.client.CudamiLocalesClient
-
public class CudamiLocalesClient extends CudamiBaseClient<Locale>
-
-
Field Summary
-
Fields inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
http, mapper, reader, serverUri, targetType
-
-
Constructor Summary
Constructors Constructor Description CudamiLocalesClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>findAllLanguages()List<String>findAllLocales()LocalegetDefaultLanguage()StringgetDefaultLocale()-
Methods inherited from class de.digitalcollections.cudami.client.CudamiBaseClient
createFullUri, doDeleteRequestForString, doGetRequestForObject, doGetRequestForObject, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForObjectList, doGetRequestForPagedObjectList, doGetRequestForPagedObjectList, doGetRequestForString, doGetSearchRequestForPagedObjectList, doPatchRequestForString, doPatchRequestForString, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObject, doPostRequestForObjectList, doPostRequestForObjectList, doPostRequestForString, doPostRequestForString, doPutRequestForObject, doPutRequestForObject, doPutRequestForObjectList, doPutRequestForString, findByLanguageAndInitial, findByLanguageAndInitial
-
-
-
-
Constructor Detail
-
CudamiLocalesClient
public CudamiLocalesClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Detail
-
findAllLanguages
public List<String> findAllLanguages() throws HttpException
- Throws:
HttpException
-
getDefaultLanguage
public Locale getDefaultLanguage() throws HttpException
- Throws:
HttpException
-
findAllLocales
public List<String> findAllLocales() throws HttpException
- Throws:
HttpException
-
getDefaultLocale
public String getDefaultLocale() throws HttpException
- Throws:
HttpException
-
-