Package org.shakespeareframework.retrofit
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.
-
ClassDescription
Ability
to call RESTful APIs usingRetrofit
.Builder wrapping aRetrofit.Builder
and aOkHttpClient.Builder
to allow setting both with one class.Interceptor
to add headers to any request.