Index

A B C G H I O R 
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.Factory to the CallHttpApis.Builder.retrofitBuilder.
addInterceptor(Interceptor) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
Adds the given Interceptor to the CallHttpApis.Builder.okHttpClientBuilder.
addJacksonConverterFactory() - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
Adds a JacksonConverterFactory to the CallHttpApis.Builder.retrofitBuilder.
addJacksonConverterFactory(ObjectMapper) - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
Adds a JacksonConverterFactory using the given objectMapper to the CallHttpApis.Builder.retrofitBuilder.
addScalarsConverterFactory() - Method in class org.shakespeareframework.retrofit.CallHttpApis.Builder
Adds a ScalarsConverterFactory to the CallHttpApis.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 Authenticator of the CallHttpApis.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
Ability to call RESTful APIs using Retrofit.
CallHttpApis() - Constructor for class org.shakespeareframework.retrofit.CallHttpApis
 
CallHttpApis.Builder - Class in org.shakespeareframework.retrofit
Builder wrapping a Retrofit.Builder and a OkHttpClient.Builder to 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
Interceptor to 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
Oauth2Api instance 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 CallHttpApis Ability, which enables an Actor to call HTTP APIs using Retrofit generated 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
RetryingTokenAuthenticator to automatically authenticate with the Oauth2Api via resource owner password flow (grant type password) 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
Authenticator that will retry authentication at the #tokenServiceUrl for maxRetries times.
RetryingTokenAuthenticator(String, int) - Constructor for class org.shakespeareframework.retrofit.oauth2.RetryingTokenAuthenticator
 
A B C G H I O R 
All Classes and Interfaces|All Packages|Serialized Form