Class CallHttpApis
- java.lang.Object
-
- org.shakespeareframework.retrofit.CallHttpApis
-
- All Implemented Interfaces:
org.shakespeareframework.Ability
public class CallHttpApis extends java.lang.Object implements org.shakespeareframework.Ability
Ability
to call RESTful APIs usingRetrofit
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallHttpApis.Builder
Builder wrapping aRetrofit.Builder
and aOkHttpClient.Builder
to allow setting both with one class.
-
Constructor Summary
Constructors Constructor Description CallHttpApis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallHttpApis.Builder
buildClient()
Creates a newCallHttpApis.Builder
.
-
-
-
Method Detail
-
buildClient
public CallHttpApis.Builder buildClient()
Creates a newCallHttpApis.Builder
.- Returns:
- a new
CallHttpApis.Builder
-
-