-
Component Upgrade
-
Resolution: Done
-
Major
-
None
-
None
RESTEasy needs to be upgraded from the 3.x releases for RESTEasy to 4.x. The 4.x branch will be the maintain branch moving forward. For WildFly this does mean some changes. Some things have been removed, some things have been moved and some things have been deprecated.
This is not an exhaustive list of what has changed, but a list of what was found during the migration from 3.x to 4.x.
Overview
The org.jboss.resteasy.resteasy-jaxrs module will be deprecated and split into 4 new modules.
- org.jboss.resteasy.resteasy-core-spi
- org.jboss.resteasy.resteasy-core
- org.jboss.resteasy.resteasy-client-api
- org.jboss.resteasy.resteasy-client
The org.jboss.resteasy.resteasy-jaxrs will add these dependencies and export them. However it may be removed at some point.
Removed Providers
- org.jboss.resteasy:resteasy-jackson-provider
- org.jboss.resteasy:resteasy-jettison-provider
- org.jboss.resteasy:resteasy-yaml-provider
Removed Types
The following have been removed as they now have Jakarta RESTful Web Services replacements.
@Suspend and org.jboss.resteasy.spi.AsynchronousResponse have been removed and replaced with @Suspended and javax.ws.rs.container.AsyncResponse repectively
The StringConverter is replaced by a ParamConverter.
Package Moves
One type, that is likely not heavily used, is org.jboss.resteasy.core.ResourceInvoker was moved to org.jboss.resteasy.spi.ResourceInvoker.
Possibly more used would be the GZIP filters moved from org.jboss.resteasy.plugins.interceptors.encoding to org.jboss.resteasy.plugins.interceptors. A workaround for this can simply be adding the resteasy.allowGzip property.
- blocks
-
WFCORE-5459 Remove the required add-opens JVM arguments required by RESTEasy
- Open
-
WFCORE-5486 Change the org.wildfly.security.elytron-base module dependency on RESTEasy
- Open
-
WFLY-15186 The REST subsystem should have a context handle for handling the context for Jakarta Concurrency
- Closed
- incorporates
-
RESTEASY-1418 RESTEasy should be able to provide trace information about request
- Resolved
-
RESTEASY-1905 Asynch injection
- Resolved
-
RESTEASY-1996 Provide builtin ParamConverter* classes for multi valued params
- Resolved
-
RESTEASY-2175 MediaType to/from String cache
- Resolved
-
RESTEASY-2265 Statistics of REST endpoints
- Resolved
-
RESTEASY-2364 Add support for remote ip/address without requiring HttpServletRequest
- Resolved
-
RESTEASY-2506 Server-side async IO support
- Resolved
-
RESTEASY-2597 Allow prevention of automatic http request retries
- Resolved
-
RESTEASY-2776 Add support of Optional types in BeanParams
- Resolved
-
RESTEASY-754 Port resteasy-multipart-provider to a recent mime4j version
- Resolved
- is blocked by
-
RESTEASY-2892 If the MP Config API is not being used the ServletContext init parameters are not searched
- Closed
-
WFLY-14817 Upgrade mime4j to version 0.8.4
- Closed
- is cloned by
-
JBEAP-22365 (7.4.z) Upgrade RESTEasy from 3.15.1.Final-redhat-00001 to 3.15.2.Final-redhat-00001
- Closed
- relates to
-
JBEAP-22443 Remove the unsupported resteasy-yaml-provider
- New
-
WFLY-15294 Either remove or deprecate the org.jboss.resteasy.resteasy-validator-provider-11 module
- Closed
-
JBEAP-22444 Migration tasks required for RESTEasy upgrade
- Closed