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.
-
ClassesClassDescription
Abilityto call RESTful APIs usingRetrofit.Builder wrapping aRetrofit.Builderand aOkHttpClient.Builderto allow setting both with one class.Interceptorto add headers to any request.