Class CallHttpApis
java.lang.Object
org.shakespeareframework.retrofit.CallHttpApis
- All Implemented Interfaces:
org.shakespeareframework.Ability
Ability
to call RESTful APIs using Retrofit
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder wrapping aRetrofit.Builder
and aOkHttpClient.Builder
to allow setting both with one class. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CallHttpApis
public CallHttpApis()
-
-
Method Details
-
buildClient
Creates a newCallHttpApis.Builder
.- Returns:
- a new
CallHttpApis.Builder
-