Index
All Classes and Interfaces|All Packages|Serialized Form
A
- adapt(Call<JsonNode>) - Method in class dev.voidframework.restclient.retrofit.calladapter.JsonNodeCallAdapter
- adapt(Call<ArrayNode>) - Method in class dev.voidframework.restclient.retrofit.calladapter.ArrayNodeCallAdapter
- adapt(Call<ObjectNode>) - Method in class dev.voidframework.restclient.retrofit.calladapter.ObjectNodeCallAdapter
- adapt(Call<String>) - Method in class dev.voidframework.restclient.retrofit.calladapter.StringCallAdapter
- adapt(Call<Map<?, ?>>) - Method in class dev.voidframework.restclient.retrofit.calladapter.GenericCallAdapter
- API_KEY - Enum constant in enum class dev.voidframework.restclient.module.AuthenticationType
-
API key authentication.
- ApiKeyAuthenticationInterceptor - Class in dev.voidframework.restclient.retrofit.interceptor
-
Provides API key authentication mechanism.
- ApiKeyAuthenticationInterceptor(String, String, ApiKeyAuthenticationInterceptor.AddTo) - Constructor for class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor
-
Build a new instance.
- ApiKeyAuthenticationInterceptor.AddTo - Enum Class in dev.voidframework.restclient.retrofit.interceptor
-
Available locations where to add API key.
- ArrayNodeCallAdapter - Class in dev.voidframework.restclient.retrofit.calladapter
-
Adapts a Call with response of type ArrayNode into a ArrayNode.
- ArrayNodeCallAdapter() - Constructor for class dev.voidframework.restclient.retrofit.calladapter.ArrayNodeCallAdapter
- AuthenticationType - Enum Class in dev.voidframework.restclient.module
-
All available authentication types.
B
- BASIC - Enum constant in enum class dev.voidframework.restclient.module.AuthenticationType
-
Basic authentication.
- BasicAuthenticationInterceptor - Class in dev.voidframework.restclient.retrofit.interceptor
-
Provides Basic authentication mechanism.
- BasicAuthenticationInterceptor(String, String, boolean) - Constructor for class dev.voidframework.restclient.retrofit.interceptor.BasicAuthenticationInterceptor
-
Build a new instance.
- BEARER - Enum constant in enum class dev.voidframework.restclient.module.AuthenticationType
-
Bearer authentication (also called token authentication).
- BearerAuthenticationInterceptor - Class in dev.voidframework.restclient.retrofit.interceptor
-
Provides Bearer authentication (also called token authentication) mechanism.
- BearerAuthenticationInterceptor(String, String) - Constructor for class dev.voidframework.restclient.retrofit.interceptor.BearerAuthenticationInterceptor
-
Build a new instance.
C
- CallAdapterFactory - Class in dev.voidframework.restclient.retrofit
-
Creates CallAdapter instances based on the return type of the service interface methods.
- CallAdapterFactory() - Constructor for class dev.voidframework.restclient.retrofit.CallAdapterFactory
- CallAdapterProcessingException(Exception) - Constructor for exception dev.voidframework.restclient.exception.RestClientException.CallAdapterProcessingException
-
Build a new instance.
- configure() - Method in class dev.voidframework.restclient.module.RestClientModule
- COOKIE - Enum constant in enum class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor.AddTo
-
API authentication will be added to request cookie.
D
- dev.voidframework.restclient.annotation - package dev.voidframework.restclient.annotation
- dev.voidframework.restclient.exception - package dev.voidframework.restclient.exception
- dev.voidframework.restclient.module - package dev.voidframework.restclient.module
- dev.voidframework.restclient.retrofit - package dev.voidframework.restclient.retrofit
- dev.voidframework.restclient.retrofit.calladapter - package dev.voidframework.restclient.retrofit.calladapter
- dev.voidframework.restclient.retrofit.interceptor - package dev.voidframework.restclient.retrofit.interceptor
G
- GenericCallAdapter - Class in dev.voidframework.restclient.retrofit.calladapter
-
Adapts a Call with response of type Object into a Object.
- GenericCallAdapter(Type) - Constructor for class dev.voidframework.restclient.retrofit.calladapter.GenericCallAdapter
-
Build a new instance.
- get(Type, Annotation[], Retrofit) - Method in class dev.voidframework.restclient.retrofit.CallAdapterFactory
H
- HEADER - Enum constant in enum class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor.AddTo
-
API authentication will be added to request headers.
I
- intercept(Interceptor.Chain) - Method in class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor
- intercept(Interceptor.Chain) - Method in class dev.voidframework.restclient.retrofit.interceptor.BasicAuthenticationInterceptor
- intercept(Interceptor.Chain) - Method in class dev.voidframework.restclient.retrofit.interceptor.BearerAuthenticationInterceptor
- InvalidServiceIdentifier(String) - Constructor for exception dev.voidframework.restclient.exception.RestClientException.InvalidServiceIdentifier
-
Build a new instance.
J
- JsonNodeCallAdapter - Class in dev.voidframework.restclient.retrofit.calladapter
-
Adapts a Call with response of type JsonNode into a JsonNode.
- JsonNodeCallAdapter() - Constructor for class dev.voidframework.restclient.retrofit.calladapter.JsonNodeCallAdapter
O
- ObjectNodeCallAdapter - Class in dev.voidframework.restclient.retrofit.calladapter
-
Adapts a Call with response of type ObjectNode into a ObjectNode.
- ObjectNodeCallAdapter() - Constructor for class dev.voidframework.restclient.retrofit.calladapter.ObjectNodeCallAdapter
Q
- QUERY_PARAMETER - Enum constant in enum class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor.AddTo
-
API authentication will be added to request query parameters.
R
- responseType() - Method in class dev.voidframework.restclient.retrofit.calladapter.ArrayNodeCallAdapter
- responseType() - Method in class dev.voidframework.restclient.retrofit.calladapter.GenericCallAdapter
- responseType() - Method in class dev.voidframework.restclient.retrofit.calladapter.JsonNodeCallAdapter
- responseType() - Method in class dev.voidframework.restclient.retrofit.calladapter.ObjectNodeCallAdapter
- responseType() - Method in class dev.voidframework.restclient.retrofit.calladapter.StringCallAdapter
- RestClient - Annotation Interface in dev.voidframework.restclient.annotation
-
Indicates that annotated interface define a REST client.
- RestClientException - Exception in dev.voidframework.restclient.exception
-
All exceptions related to REST Client feature are subclasses of
RestClientException. - RestClientException(String) - Constructor for exception dev.voidframework.restclient.exception.RestClientException
-
Build a new instance.
- RestClientException(String, Throwable) - Constructor for exception dev.voidframework.restclient.exception.RestClientException
-
Build a new instance.
- RestClientException.CallAdapterProcessingException - Exception in dev.voidframework.restclient.exception
-
Exception indicates that something goes wrong during the call adapter process.
- RestClientException.InvalidServiceIdentifier - Exception in dev.voidframework.restclient.exception
-
Exception indicates that service identifier provided via
RestClientannotation is invalid. - RestClientModule - Class in dev.voidframework.restclient.module
-
REST Client module.
- RestClientModule(Config, ScannedClassesToLoad) - Constructor for class dev.voidframework.restclient.module.RestClientModule
-
Build a new instance.
S
- StringCallAdapter - Class in dev.voidframework.restclient.retrofit.calladapter
-
Adapts a Call with response of type String into a String.
- StringCallAdapter() - Constructor for class dev.voidframework.restclient.retrofit.calladapter.StringCallAdapter
V
- value() - Element in annotation interface dev.voidframework.restclient.annotation.RestClient
-
The REST Client unique identifier.
- valueOf(String) - Static method in enum class dev.voidframework.restclient.module.AuthenticationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor.AddTo
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.voidframework.restclient.module.AuthenticationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.voidframework.restclient.retrofit.interceptor.ApiKeyAuthenticationInterceptor.AddTo
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form