Index
All Classes and Interfaces|All Packages
A
- activeRequestPrefix(MeterRegistry, RequestOnlyLog) - Method in class com.linecorp.armeria.client.retrofit2.RetrofitMeterIdPrefixFunction
- addCallAdapterFactory(CallAdapter.Factory) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Adds the specified call adapter factory for supporting service method return types other than
Call. - addConverterFactory(Converter.Factory) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Adds the specified converter factory for serialization and deserialization of objects.
- addHeader(CharSequence, Object) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- addHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- ArmeriaRetrofit - Class in com.linecorp.armeria.client.retrofit2
-
Provides various ways to create a
Retrofitwhich usesWebClientfor sending requests. - ArmeriaRetrofitBuilder - Class in com.linecorp.armeria.client.retrofit2
-
A builder that creates a
Retrofitwhich usesWebClientfor sending requests. - auth(AuthToken) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- auth(BasicToken) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- auth(OAuth1aToken) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- auth(OAuth2Token) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
B
- build() - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Returns a newly-created
Retrofitbased on the properties of this builder. - builder(WebClient) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuilderthat builds a client that sends requests using the specifiedWebClient. - builder(SessionProtocol, EndpointGroup) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuilderthat builds a client that sends requests to the specifiedEndpointGroupusing the specifiedSessionProtocol. - builder(SessionProtocol, EndpointGroup, String) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuilderthat builds a client that sends requests to the specifiedEndpointGroupusing the specifiedSessionProtocolandpath. - builder(String) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuildercreated with the specifiedbaseUrl. - builder(String, EndpointGroup) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuilderthat builds a client that sends requests to the specifiedEndpointGroupusing the specifiedprotocol. - builder(String, EndpointGroup, String) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuilderthat builds a client that sends requests to the specifiedEndpointGroupusing the specifiedSessionProtocolandpath. - builder(URI) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
ArmeriaRetrofitBuildercreated with the specifiedbaseUrl.
C
- callbackExecutor(Executor) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- clearDecorators() - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- com.linecorp.armeria.client.retrofit2 - package com.linecorp.armeria.client.retrofit2
-
Retrofit2 adapter for Armeria.
- completeRequestPrefix(MeterRegistry, RequestLog) - Method in class com.linecorp.armeria.client.retrofit2.RetrofitMeterIdPrefixFunction
- contextCustomizer(Consumer<? super ClientRequestContext>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
D
- decorator(DecoratingHttpClientFunction) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- decorator(Function<? super HttpClient, ? extends HttpClient>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
E
- endpointRemapper(Function<? super Endpoint, ? extends EndpointGroup>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
F
- factory(ClientFactory) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- followRedirects() - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- followRedirects(RedirectConfig) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
G
- getInvocation(RequestLogAccess) - Static method in class com.linecorp.armeria.client.retrofit2.InvocationUtil
-
Retrieves a Retrofit
Invocationassociated with aRequestLog.
I
- InvocationUtil - Class in com.linecorp.armeria.client.retrofit2
-
Retrieves a Retrofit
Invocationassociated with aRequestLog.
M
- maxResponseLength(long) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
N
- nonBaseClientFactory(BiFunction<? super SessionProtocol, ? super Endpoint, ? extends WebClient>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Specifies the
BiFunctionthat creates a new non-baseWebClient, which is used for sending requests to other authorities than that of base URL.
O
- of(WebClient) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
Retrofitwhich sends requests using the specifiedWebClient. - of(SessionProtocol, EndpointGroup) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
Retrofitwhich sends requests to the specifiedEndpointusing the specifiedSessionProtocol. - of(SessionProtocol, EndpointGroup, String) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
Retrofitwhich sends requests to the specifiedEndpointusing the specifiedSessionProtocolandpath. - of(String) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
Retrofitwith the specifiedbaseUrl. - of(String) - Static method in class com.linecorp.armeria.client.retrofit2.RetrofitMeterIdPrefixFunction
-
Returns a newly created
RetrofitMeterIdPrefixFunctionwith the specifiedname. - of(String, EndpointGroup) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
- of(String, EndpointGroup, String) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
Retrofitwhich sends requests to the specifiedEndpointusing the specifiedprotocolandpath. - of(URI) - Static method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofit
-
Returns a new
Retrofitwith the specifiedbaseUrl. - option(ClientOption<T>, T) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- option(ClientOptionValue<T>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- options(ClientOptions) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- options(ClientOptionValue<?>...) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- options(Iterable<ClientOptionValue<?>>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
R
- requestIdGenerator(Supplier<RequestId>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- responseTimeout(Duration) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- responseTimeoutMillis(long) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- RetrofitMeterIdPrefixFunction - Class in com.linecorp.armeria.client.retrofit2
-
Returns the default function for retrofit that creates a
MeterIdPrefixwith the specified name and theTags derived from theRequestLogproperties andInvocation. - rpcDecorator(DecoratingRpcClientFunction) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Raises an
UnsupportedOperationExceptionbecause this builder doesn't support RPC-level but only HTTP-level decorators. - rpcDecorator(Function<? super RpcClient, ? extends RpcClient>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Raises an
UnsupportedOperationExceptionbecause this builder doesn't support RPC-level but only HTTP-level decorators.
S
- setHeader(CharSequence, Object) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- setHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- streaming(boolean) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
Sets the streaming flag to make Armeria client fully support
Streaming. - successFunction(SuccessFunction) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
V
- validateEagerly(boolean) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
-
When calling
Retrofit.create(java.lang.Class<T>)on the resultingRetrofitinstance, eagerly validate the configuration of all methods in the supplied interface.
W
- writeTimeout(Duration) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
- writeTimeoutMillis(long) - Method in class com.linecorp.armeria.client.retrofit2.ArmeriaRetrofitBuilder
All Classes and Interfaces|All Packages