Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionthis should not be used outside of this module and may be removed in a future releasethis should not be used outside of this moduleuse the
org.jboss.resteasy.client.jaxrs.engine.ClientHttpEngineFactoryinsteadThis will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEngineBuilderwill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.resuming a suspended filter chain may continue execution on a different thread than the one that suspended it. CDI contexts are bound to a specific thread, so CDI may not behave as expected after such a resumption: a@RequestScoped,@SessionScoped, or@ConversationScopedbean may fail to resolve, or resolve to a different instance than expected, regardless of what scope the matched resource itself uses.@ApplicationScopedand@Dependentbeans are unaffected. This is consistent with the Jakarta Concurrency specification's own guidance against relying on those same CDI scopes surviving an asynchronous task boundary, and reliably fixing it is not something this module can do in a CDI-implementation-agnostic way. Suspending the filter chain itself is deprecated for removal; asynchronous processing in resource methods viaAsyncResponse/CompletionStageis not deprecated and remains fully supported as a mechanism, but is equally susceptible to this same caveat - code that doesn't reference any CDI bean after dispatching to another thread is unaffected, but code that does is not guaranteed to work.resuming a suspended filter chain may continue execution on a different thread than the one that suspended it. CDI contexts are bound to a specific thread, so CDI may not behave as expected after such a resumption: a@RequestScoped,@SessionScoped, or@ConversationScopedbean may fail to resolve, or resolve to a different instance than expected, regardless of what scope the matched resource itself uses.@ApplicationScopedand@Dependentbeans are unaffected. This is consistent with the Jakarta Concurrency specification's own guidance against relying on those same CDI scopes surviving an asynchronous task boundary, and reliably fixing it is not something this module can do in a CDI-implementation-agnostic way. Suspending the filter chain itself is deprecated for removal; asynchronous processing in resource methods viaAsyncResponse/CompletionStageis not deprecated and remains fully supported as a mechanism, but is equally susceptible to this same caveat - code that doesn't reference any CDI bean after dispatching to another thread is unaffected, but code that does is not guaranteed to work.core no longer invokes this method, so overriding it has no effect. UseClientHelper.processProviderInstanceContracts(Object, Class, Map, Integer, boolean, Map), which receives the class a container proxy delegates to.core no longer invokes this method, so overriding it has no effect. UseCommonProviders.processProviderInstanceContracts(Object, Class, Map, Integer, boolean, Map), which receives the class a container proxy delegates to.core no longer invokes this method, so overriding it has no effect. UseServerHelper.processProviderInstanceContracts(Object, Class, Map, Integer, boolean, Map), which receives the class a container proxy delegates to.UseResteasyContextParameters.RESTEASY_PREFER_JACKSON_OVER_JSONBto control which JSON provider is used for PATCH filter processing. WhenResteasyContextParameters.RESTEASY_PREFER_JACKSON_OVER_JSONBistrue, Jackson is used; otherwise Jakarta JSON Processing is used.This only applies to context types RESTEasy injects itself, not to context types injected by CDI, and will be removed along with RESTEasy's legacy context injection.the contexts may be shared and cannot be cleared
-
Deprecated InterfacesInterfaceDescriptionuse the
org.jboss.resteasy.client.jaxrs.engine.ClientHttpEngineFactoryinsteadThis will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.resuming a suspended filter chain may continue execution on a different thread than the one that suspended it. CDI contexts are bound to a specific thread, so CDI may not behave as expected after such a resumption: a@RequestScoped,@SessionScoped, or@ConversationScopedbean may fail to resolve, or resolve to a different instance than expected, regardless of what scope the matched resource itself uses.@ApplicationScopedand@Dependentbeans are unaffected. This is consistent with the Jakarta Concurrency specification's own guidance against relying on those same CDI scopes surviving an asynchronous task boundary, and reliably fixing it is not something this module can do in a CDI-implementation-agnostic way. Suspending the filter chain itself is deprecated for removal; asynchronous processing in resource methods viaAsyncResponse/CompletionStageis not deprecated and remains fully supported as a mechanism, but is equally susceptible to this same caveat - code that doesn't reference any CDI bean after dispatching to another thread is unaffected, but code that does is not guaranteed to work.resuming a suspended filter chain may continue execution on a different thread than the one that suspended it. CDI contexts are bound to a specific thread, so CDI may not behave as expected after such a resumption: a@RequestScoped,@SessionScoped, or@ConversationScopedbean may fail to resolve, or resolve to a different instance than expected, regardless of what scope the matched resource itself uses.@ApplicationScopedand@Dependentbeans are unaffected. This is consistent with the Jakarta Concurrency specification's own guidance against relying on those same CDI scopes surviving an asynchronous task boundary, and reliably fixing it is not something this module can do in a CDI-implementation-agnostic way. Suspending the filter chain itself is deprecated for removal; asynchronous processing in resource methods viaAsyncResponse/CompletionStageis not deprecated and remains fully supported as a mechanism, but is equally susceptible to this same caveat - code that doesn't reference any CDI bean after dispatching to another thread is unaffected, but code that does is not guaranteed to work.
-
Deprecated ClassesClassDescriptionthis should not be used outside of this module and may be removed in a future releaseThis will be removed in a future release as the underlying default implementation of the
ClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEngineBuilderwill be replaced.This will be removed in a future release as the underlying default implementation of theClientHttpEnginewill be replaced.finalizers should no longer be used and this type will be removed in the futureThis should no longer be used as it's quite simple to implement and is tied to the implementation
-
Deprecated Enum ClassesEnum ClassDescription
-
Deprecated Exception ClassesException ClassDescriptionThis class is deprecated use jakarta.ws.rs.BadRequestException
-
Deprecated FieldsFieldDescriptionUse
ResteasyContextParameters.RESTEASY_PREFER_JACKSON_OVER_JSONBto control which JSON provider is used for PATCH filter processing. WhenResteasyContextParameters.RESTEASY_PREFER_JACKSON_OVER_JSONBistrue, Jackson is used; otherwise Jakarta JSON Processing is used.This only applies to context types RESTEasy injects itself, not to context types injected by CDI, and will be removed along with RESTEasy's legacy context injection.
-
Deprecated MethodsMethodDescriptioncore no longer invokes this method, so overriding it has no effect. Use
ClientHelper.processProviderInstanceContracts(Object, Class, Map, Integer, boolean, Map), which receives the class a container proxy delegates to.core no longer invokes this method, so overriding it has no effect. UseCommonProviders.processProviderInstanceContracts(Object, Class, Map, Integer, boolean, Map), which receives the class a container proxy delegates to.core no longer invokes this method, so overriding it has no effect. UseServerHelper.processProviderInstanceContracts(Object, Class, Map, Integer, boolean, Map), which receives the class a container proxy delegates to.Not used: Deprecated in the original org.apache.tomcat.util.http.ServerCookie class.See jakarta.xml.bind.JAXBContext#createValidator().This method is deprecated as of JAXB 2.0 - please use the newSecureUnmarshaller.getSchema()API.since JAXB2.0, please seeSecureUnmarshaller.getSchema()the contexts may be shared and cannot be cleared
-
Deprecated ConstructorsConstructorDescriptionthis should not be used outside of this module