-
Enum ClassDescriptionUse
LoggingService
or log exceptions usingServerBuilder.errorHandler(ServerErrorHandler)
instead.
-
FieldDescriptionIt's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.
-
MethodDescriptionUse
AbstractClientOptionsBuilder.auth(AuthToken)
instead.UseAbstractClientOptionsBuilder.auth(AuthToken)
instead.UseAbstractClientOptionsBuilder.auth(AuthToken)
instead.It's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.It's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.UseClientRequestContext.whenResponseCancelled()
instead.UseClientRequestContext.whenResponseCancelling()
instead.UseRetryConfigBuilder.maxTotalAttempts(int)
instead.UseRetryingClient.newDecorator(RetryConfig)
instead.UseRetryingClient.newDecorator(RetryConfig)
instead.UseRetryingClient.newDecorator(RetryConfig)
instead.UseRetryingClient.newDecorator(RetryConfig)
instead.UseRetryingRpcClient.newDecorator(RetryConfig)
instead.UseRetryingRpcClient.newDecorator(RetryConfig)
instead.useAuthToken.ofBasic(String, String)
instead.useAuthToken.builderForOAuth1a()
instead.useAuthToken.ofOAuth2(String)
instead.UseLoggingService
or log exceptions usingServerBuilder.errorHandler(ServerErrorHandler)
.UseFlags.transportType()
and-Dcom.linecorp.armeria.transportType=epoll
.This method has been deprecated without a replacement since it cannot reliably work with custom protocol factories.UseHttpStatusException.of(int)
instead.UseHttpStatusException.of(HttpStatus)
instead.UseSamlServiceProviderBuilder.acs(SamlEndpoint)
to specifySamlEndpoint
when creating thisSamlAssertionConsumerConfigBuilder
.It's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.It's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.UseServerConfig.findVirtualHost(String, int)
instead.UseServiceConfig.defaultServiceNaming()
instead.UseServiceRequestContext.whenRequestCancelled()
instead.UseServiceRequestContext.whenRequestCancelling()
instead.It's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.It's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.
-
ConstructorDescriptionPrefer using a standard client building pattern, e.g.:
UnaryGrpcClient client = Clients.newClient("gproto+http://127.0.0.1:8080", UnaryGrpcClient.class);
Prefer using a standard client building pattern, e.g.:UnaryGrpcClient client = Clients.newClient("gproto-web+http://127.0.0.1:8080", UnaryGrpcClient.class);
The registeredExceptionHandlerFunction
s will be applied automatically. UseObservableResponseConverterFunction(ResponseConverterFunction)
instead.The registeredExceptionHandlerFunction
s will be applied automatically. UseObservableResponseConverterFunction(ResponseConverterFunction)
instead.
StreamDecoder
instead.