Package org.shakespeareframework.retrofit
The retrofit package contains the
CallHttpApis
Ability
, which enables an Actor
to
call HTTP APIs using Retrofit
generated clients.
Additionally the HeaderInterceptor
can be used via
CallHttpApis.Builder.addInterceptor(okhttp3.Interceptor)
to add standard
headers that will be added to any request. E.g. to add authentication headers.
-
Class Summary Class Description CallHttpApis Ability
to call RESTful APIs usingRetrofit
.CallHttpApis.Builder Builder wrapping aRetrofit.Builder
and aOkHttpClient.Builder
to allow setting both with one class.HeaderInterceptor Interceptor
to add headers to any request.