Class ChystatApiClient
- java.lang.Object
-
- cz.diribet.chystat.api.client.impl.OkHttpApiClient
-
- cz.diribet.chystat.api.client.impl.ChystatApiClient
-
- All Implemented Interfaces:
IApiClient
public class ChystatApiClient extends OkHttpApiClient
OkHttpApiClientthat creates authenticated requests using the givenJwtTokenProvider
-
-
Field Summary
-
Fields inherited from class cz.diribet.chystat.api.client.impl.OkHttpApiClient
JSON
-
-
Constructor Summary
Constructors Constructor Description ChystatApiClient(String baseUrl, com.google.gson.Gson gson, JwtTokenProvider jwtTokenProvider)ChystatApiClient(String baseUrl, JwtTokenProvider jwtTokenProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected okhttp3.Request.BuilderrequestBuilder(String path)-
Methods inherited from class cz.diribet.chystat.api.client.impl.OkHttpApiClient
clientBuilder, delete, get, patch, post, put
-
-
-
-
Constructor Detail
-
ChystatApiClient
public ChystatApiClient(String baseUrl, JwtTokenProvider jwtTokenProvider)
-
ChystatApiClient
public ChystatApiClient(String baseUrl, com.google.gson.Gson gson, JwtTokenProvider jwtTokenProvider)
-
-
Method Detail
-
requestBuilder
protected okhttp3.Request.Builder requestBuilder(String path)
- Overrides:
requestBuilderin classOkHttpApiClient
-
-