Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(String, String) - Method in class org.shakespeareframework.retrofit.HeaderInterceptor
-
Adds a header that will be added to the intercepted request.
- addConverterFactory(Converter.Factory) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Adds the given
Converter.Factoryto theCallHttpApis.Builder.retrofitBuilder. - addInterceptor(Interceptor) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Adds the given
Interceptorto theCallHttpApis.Builder.okHttpClientBuilder. - addJacksonConverterFactory() - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Adds a
JacksonConverterFactoryto theCallHttpApis.Builder.retrofitBuilder. - addJacksonConverterFactory(ObjectMapper) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Adds a
JacksonConverterFactoryusing the given objectMapper to theCallHttpApis.Builder.retrofitBuilder. - addScalarsConverterFactory() - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Adds a
ScalarsConverterFactoryto theCallHttpApis.Builder.retrofitBuilder. - authenticate(Route, Response) - Method in class org.shakespeareframework.retrofit.oauth2.RetryingTokenAuthenticator
- authenticator(Authenticator) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Sets the
Authenticatorof theCallHttpApis.Builder.okHttpClientBuilder.
B
- baseUrl(String) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Sets the base URL to the
CallHttpApis.Builder.retrofitBuilder. - build(Class<? extends C>) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
-
Finalizes the build and returns the client.
- buildClient() - Method in class org.shakespeareframework.retrofit.CallHttpApis
-
Creates a new
CallHttpApis.Builder.
C
- CallHttpApis - Class in org.shakespeareframework.retrofit
-
Abilityto call RESTful APIs usingRetrofit. - CallHttpApis() - Constructor for class org.shakespeareframework.retrofit.CallHttpApis
- CallHttpApis.Builder - Class in org.shakespeareframework.retrofit
-
Builder wrapping a
Retrofit.Builderand aOkHttpClient.Builderto allow setting both with one class.
G
- getAccessToken() - Method in class org.shakespeareframework.retrofit.oauth2.Oauth2Token
- getToken() - Method in class org.shakespeareframework.retrofit.oauth2.ResourceOwnerPasswordTokenAuthenticator
- getToken() - Method in class org.shakespeareframework.retrofit.oauth2.RetryingTokenAuthenticator
H
- HeaderInterceptor - Class in org.shakespeareframework.retrofit
-
Interceptorto add headers to any request. - HeaderInterceptor() - Constructor for class org.shakespeareframework.retrofit.HeaderInterceptor
I
- intercept(Interceptor.Chain) - Method in class org.shakespeareframework.retrofit.HeaderInterceptor
- isExpired() - Method in class org.shakespeareframework.retrofit.oauth2.Oauth2Token
-
Checks if this is expired or will be expired in less than 10 seconds.
O
- oauth2Api - Variable in class org.shakespeareframework.retrofit.oauth2.RetryingTokenAuthenticator
-
Oauth2Apiinstance to obtain a token. - Oauth2AuthenticationFailedException - Exception in org.shakespeareframework.retrofit.oauth2
-
An exception thrown when OAuth2 authentication fails.
- Oauth2AuthenticationFailedException() - Constructor for exception org.shakespeareframework.retrofit.oauth2.Oauth2AuthenticationFailedException
- Oauth2Token - Class in org.shakespeareframework.retrofit.oauth2
-
A parsed OAuth2 token.
- Oauth2Token(String, Integer) - Constructor for class org.shakespeareframework.retrofit.oauth2.Oauth2Token
- org.shakespeareframework.retrofit - package org.shakespeareframework.retrofit
-
The retrofit package contains the
CallHttpApisAbility, which enables anActorto call HTTP APIs usingRetrofitgenerated clients. - org.shakespeareframework.retrofit.oauth2 - package org.shakespeareframework.retrofit.oauth2
-
The authentication package contains
Authenticators for OAuth 2.0 Authorization flows:ResourceOwnerPasswordTokenAuthenticator
R
- remove(String) - Method in class org.shakespeareframework.retrofit.HeaderInterceptor
-
Removes a header that will no longer be added to the intercepted request.
- ResourceOwnerPasswordTokenAuthenticator - Class in org.shakespeareframework.retrofit.oauth2
-
RetryingTokenAuthenticatorto automatically authenticate with theOauth2Apivia resource owner password flow (grant typepassword) and add the access token as a header. - ResourceOwnerPasswordTokenAuthenticator(String, String, String, String, String, String) - Constructor for class org.shakespeareframework.retrofit.oauth2.ResourceOwnerPasswordTokenAuthenticator
- RetryingTokenAuthenticator - Class in org.shakespeareframework.retrofit.oauth2
-
Authenticatorthat will retry authentication at the #tokenServiceUrl formaxRetriestimes. - RetryingTokenAuthenticator(String, int) - Constructor for class org.shakespeareframework.retrofit.oauth2.RetryingTokenAuthenticator
All Classes and Interfaces|All Packages|Serialized Form