Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Classes
  • Annotation Types
  • Fields
  • Methods
  • Constructors
  • Deprecated Classes
    Class
    Description
    com.azure.core.http.policy.TimeoutPolicy
    Consider configuring timeouts with HttpClientOptions.
    com.azure.core.http.rest.PagedFluxBase
    use ContinuablePagedFluxCore.
  • Deprecated Annotation Types
    Annotation Type
    Description
    com.azure.core.annotation.ResumeOperation
    This interface is no longer used, or respected, in code.
  • Deprecated Fields
    Field
    Description
    com.azure.core.util.tracing.Tracer.PARENT_SPAN_KEY
    Deprecated in favor of PARENT_TRACE_CONTEXT_KEY, use it to propagate full io.opentelemetry.Context
  • Deprecated Methods
    Method
    Description
    com.azure.core.http.HttpHeaders.put(String, String)
    Use HttpHeaders.set(String, String) instead.
    com.azure.core.http.policy.HttpLogOptions.getApplicationId()
    Use ClientOptions to configure applicationId.
    com.azure.core.http.policy.HttpLogOptions.setApplicationId(String)
    Use ClientOptions to configure applicationId.
    com.azure.core.http.rest.Page.getItems()
    use ContinuablePage.getElements().
    com.azure.core.http.rest.PagedFlux.mapPage(Function<T, S>)
    refer the decoration samples for PagedFlux.create(Supplier).
    com.azure.core.util.Configuration.clone()
    Use ConfigurationBuilder and ConfigurationSource to create configuration.
    com.azure.core.util.Configuration.put(String, String)
    Use ConfigurationBuilder and ConfigurationSource to provide all properties before creating configuration.
    com.azure.core.util.Configuration.remove(String)
    Use ConfigurationBuilder and ConfigurationSource to provide all properties before creating configuration.
    com.azure.core.util.CoreUtils.extractAndFetch(PagedResponse<T>, Context, BiFunction<String, Context, Publisher<T>>)
    Use localized implementation.
    com.azure.core.util.logging.ClientLogger.logThowableAsWarning(T)
    Use ClientLogger.logThrowableAsWarning(Throwable) instead.
    com.azure.core.util.serializer.JacksonAdapter.serializer()
    deprecated to avoid direct ObjectMapper usage in favor of using more resilient and debuggable JacksonAdapter APIs.
    com.azure.core.util.serializer.JacksonAdapter.simpleMapper()
    deprecated, use JacksonAdapter(BiConsumer<ObjectMapper, ObjectMapper>) constructor to configure modules.
    com.azure.core.util.tracing.Tracer.addEvent(String, Map<String, Object>, OffsetDateTime)
    Use Tracer.addEvent(String, Map, OffsetDateTime, Context)
  • Deprecated Constructors
    Constructor
    Description
    com.azure.core.http.HttpHeaderName()
    Use one of the constants or the HttpHeaderName.fromString(String) factory method.
    com.azure.core.http.policy.UserAgentPolicy(String, String, Configuration, ServiceVersion)
    Use UserAgentPolicy(String, String, String, Configuration) instead.
    com.azure.core.http.rest.StreamResponse(HttpRequest, int, HttpHeaders, Flux<ByteBuffer>)
    Use StreamResponse(HttpResponse)
    com.azure.core.models.CloudEventDataFormat()
    Use one of the constants or the CloudEventDataFormat.fromString(String) factory method.
    com.azure.core.models.GeoObjectType()
    Use one of the constants or the GeoObjectType.fromString(String) factory method.
    com.azure.core.util.Configuration()
    Use ConfigurationBuilder and ConfigurationSource that allow to provide all properties before creating configuration and keep it immutable.
    com.azure.core.util.ExpandableStringEnum()
    Use the ExpandableStringEnum.fromString(String, Class) factory method.
    com.azure.core.util.polling.LongRunningOperationStatus()
    Use one of the constants or the LongRunningOperationStatus.fromString(String, boolean) factory method.

Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.