Deprecated API
Contents
-
Deprecated Interfaces
-
Deprecated Classes
-
Deprecated Enum ClassesEnum ClassDescriptionUse
LoggingServiceor log exceptions usingServerBuilder.errorHandler(ServerErrorHandler)instead.
-
Deprecated FieldsFieldDescriptionIt's not recommended to enable this option. Use it only when you have no other way to communicate with an insecure peer than this.
-
Deprecated MethodsMethodDescriptionUse
AbstractClientOptionsBuilder.auth(AuthToken)instead.UseAbstractClientOptionsBuilder.auth(AuthToken)instead.UseAbstractClientOptionsBuilder.auth(AuthToken)instead.RPC decorator cannot be added to the web client builder.RPC decorator cannot be added to the web client builder.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.UseGrpcClientBuilder.pathPrefix(String)instead.UseConcurrencyLimitingClient.newDecorator(ConcurrencyLimit)with the limit created viaConcurrencyLimit.builder(int)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.UseCookie.secureBuilder(String, String)instead to create a secureCookie.UseCookie.ofSecure(String, String)instead to create a secureCookie.UseLoggingServiceor log exceptions usingServerBuilder.errorHandler(ServerErrorHandler).UseFlags.transportType()and-Dcom.linecorp.armeria.transportType=epoll.Do not use this method.Do not use this method.Do not use this method.Do not use this method.This method has been deprecated without a replacement since it cannot reliably work with custom protocol factories.UseGrpcServiceBuilder.maxRequestMessageLength(int)instead.UseGrpcServiceBuilder.maxResponseMessageLength(int)instead.UseHttpStatusException.of(int)instead.UseHttpStatusException.of(HttpStatus)instead.UseSamlServiceProviderBuilder.acs(SamlEndpoint)to specifySamlEndpointwhen 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.
-
Deprecated ConstructorsConstructorDescriptionPrefer 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 registeredExceptionHandlerFunctions will be applied automatically. UseObservableResponseConverterFunction(ResponseConverterFunction)instead.The registeredExceptionHandlerFunctions will be applied automatically. UseObservableResponseConverterFunction(ResponseConverterFunction)instead.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescription
StreamDecoderinstead.