Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionDo not use.Do not use.Do not use. the NTLM authentication scheme is no longer supportedUse message builders.Do not use.Use
TlsSocketStrategy.
-
Deprecated ClassesClassDescriptionUse
BasicRequestBuilder.UseSimpleRequestBuilder.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.UseClassicRequestBuilder– the public extension point has moved toDecompressingEntity. For built-in gzip support useContentCodecRegistryor wrap a stream directly withSuperseded byDecompressingEntity.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use.Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.This class is deprecated and will be removed in a future release. Please useHttpByteArrayCacheEntrySerializerfor improved performance.Do not use. This functionality is internal.UseClassicRequestBuilderUseCompletedFuture.UseBasicRequestBuilderDo not use.UseDetachedSocketFactory. Please note this interface is considered internal.For self-signed certificates prefer specifying a keystore containing the certificate when calling theSSLContextBuilderloadTrustMaterialmethods.
-
Deprecated Exception ClassesException ClassDescriptionDo not use.Do not use/
-
Deprecated FieldsFieldDescriptionDo not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.Use
HttpHeadersUseHttpHeadersUseHttpHeadersUseHttpHeadersUseMethodUseHttpHeadersUseHttpHeadersUseMethodUseMethodUseHttpHeadersUseHttpHeadersUseHttpHeadersUseHttpHeadersUseHttpHeadersUseHttpHeadersUseHttpHeadersUseMethodUseMethodUseHttpHeadersUseHttpHeadersUseMethodUseHttpHeadersUseMethodUseHttpHeadersUseHttpHeadersUseHttpHeadersUseHttpHeadersUse getter methodsuseEntityBuilder.compressWithinsteadThis attribute is no longer supported as a part of the public API.This attribute is no longer supported as a part of the public API.This attribute is no longer supported as a part of the public API.TLS should be configured by the connection managerTLS should be configured by the connection managerNo longer applicable. Do not use.No longer applicable. Do not use.Use getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsUse getter methodsTo be removed.This attribute is no longer supported as a part of the public API.
-
Deprecated MethodsMethodDescriptionDo not use.Use specific credentials class that represent a username / password set of a security token.No longer applicable. Use
HttpCacheEntry.getVariants()instead.Do not use.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asHttpClient.execute(ClassicHttpRequest, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asHttpClient.execute(ClassicHttpRequest, HttpContext, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asHttpClient.execute(HttpHost, ClassicHttpRequest, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asHttpClient.execute(HttpHost, ClassicHttpRequest, HttpContext, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.since 5.6 – replace withcompressed(ContentCoding.GZIP).since 5.6 – useEntityBuilder.getCompressWith()and check forContentCoding.GZIPinstead.UseRequestRouterat the construction timeUseRequestRouterat the construction timeUseRequestRouterat the construction timeUseTlsConfigand connection manager methodsHas no effect. Do not use.No longer applicable. Do not use.No longer applicable. Do not use.Do not use.Do not use.Do not use.Do not use.Do not use.Do not use.Do not use.Do not use.Do not use.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asCloseableHttpClient.execute(ClassicHttpRequest, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(ClassicHttpRequest, HttpContext) It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asCloseableHttpClient.execute(ClassicHttpRequest, HttpContext, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asCloseableHttpClient.execute(HttpHost, ClassicHttpRequest, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.It is strongly recommended to use execute methods withHttpClientResponseHandlersuch asCloseableHttpClient.execute(HttpHost, ClassicHttpRequest, HttpContext, HttpClientResponseHandler)in order to ensure automatic resource deallocation by the client. For special cases one can still useHttpClient.executeOpen(HttpHost, ClassicHttpRequest, HttpContext)to keep the response object open after the request execution.Provided for backward compatibilityorg.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager.getValidateAfterInactivity()Use #setHostVerificationPolicyDo not use. This method has no effect.Noop method. Do not use.This method is no longer supported as a part of the public API.This method is no longer supported as a part of the public API.UseURIBuilder.UseURIBuilder.UseURIBuilder.UseURIBuilder.UseURIBuilder.
-
Deprecated ConstructorsConstructorDescriptionThis constructor is deprecated to enforce the use of
StandardCharsets.UTF_8encoding in compliance with RFC 7617 for HTTP Basic Authentication. Use the default constructorBasicScheme()instead.This constructor is deprecated to enforce the use ofStandardCharsets.UTF_8encoding in compliance with RFC 7617 for HTTP Basic Authentication. Use the default constructorBasicSchemeFactory()instead.This constructor is deprecated to enforce the use ofStandardCharsets.UTF_8encoding in compliance with RFC 7616 for HTTP Digest Access Authentication. Use the default constructorDigestScheme()instead.This constructor is deprecated to enforce the use ofStandardCharsets.UTF_8encoding in compliance with RFC 7616 for HTTP Digest Access Authentication. Use the default constructorDigestSchemeFactory()instead.org.apache.hc.client5.http.impl.io.BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory>) Do not use.Do not use.