Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: ea17ab76d5ec68b344ba87acbee265e8ad3e9ac1
https://github.com/resteasy/Resteasy/commit/ea17ab76d5ec68b344ba87acbee26...
Author: Alessio Soldano <soldano.servizi(a)email.it>
Date: 2019-03-01 (Fri, 01 Mar 2019)
Changed paths:
M
resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/ClientConfiguration.java
M
resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/LocalResteasyProviderFactory.java
M
resteasy-client/src/main/java/org/jboss/resteasy/client/jaxrs/internal/ResteasyClientBuilderImpl.java
M resteasy-core-spi/src/main/java/org/jboss/resteasy/spi/ResteasyProviderFactory.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/ExceptionHandler.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/InjectorFactoryImpl.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/MediaTypeMap.java
M resteasy-core/src/main/java/org/jboss/resteasy/core/ResourceMethodInvoker.java
R
resteasy-core/src/main/java/org/jboss/resteasy/core/ResteasyProviderFactoryImpl.java
M
resteasy-core/src/main/java/org/jboss/resteasy/core/ThreadLocalResteasyProviderFactory.java
M
resteasy-core/src/main/java/org/jboss/resteasy/core/interception/jaxrs/ServerReaderInterceptorContext.java
M
resteasy-core/src/main/java/org/jboss/resteasy/core/interception/jaxrs/ServerWriterInterceptorContext.java
A
resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/ClientHelper.java
A
resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/ExtSortedKey.java
A
resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/NOOPClientHelper.java
A
resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/NOOPServerHelper.java
A
resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/ResteasyProviderFactoryImpl.java
A
resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/ServerHelper.java
A resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/SortedKey.java
A resteasy-core/src/main/java/org/jboss/resteasy/core/providerfactory/Utils.java
M resteasy-core/src/main/java/org/jboss/resteasy/mock/MockDispatcherFactory.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/CacheControlDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/CookieHeaderDelegate.java
M resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/DateDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/EntityTagDelegate.java
M resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/LinkDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/LinkHeaderDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/LocaleDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/MediaTypeHeaderDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/NewCookieHeaderDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/delegates/UriHeaderDelegate.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/providers/RegisterBuiltin.java
M
resteasy-core/src/main/java/org/jboss/resteasy/plugins/providers/sse/InboundSseEventImpl.java
M resteasy-core/src/main/resources/META-INF/services/javax.ws.rs.ext.RuntimeDelegate
M resteasy-jsapi/src/test/java/org/jboss/resteasy/test/i18n/TestMessagesAbstract.java
M security/jose-jwt/src/main/java/org/jboss/resteasy/jwt/JsonSerialization.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/InContainerClientBenchTest.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/InContainerClientResource.java
M
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/client/ConfigurationInheritanceTest.java
M
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/providers/HeaderDelegateTest.java
M
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/providers/MultipurtContainsJsonTest.java
M
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/providers/PriorityEqualityTest.java
Log Message:
-----------
[RESTEASY-2174][RESTEASY-2175] ResteasyProviderFactory refactoring / optimization
(#1879)
* TCCL-based cache of initial client ResteasyProviderFactory
* Get rid of exceptionMapper in RPF (use sortedExceptionMappers)
* Reduce number of objects created for each new RPF instance
* RPF refactoring to split the class into some smaller / more readable ones and to allow
reducing memory allocation in case the RPF is needed only on client or server side
* Minor cleanup of MediaTypeMap
* Adding MediaType cache
* Replacing Class#newInstance method usage in RPF (deprecated in JDK9)
* Some reasonable sizing of ConcurrentHashMaps in RPF (based on the number of existing
implementations in RESTEasy for the various keys)
* Adding MediaType -> String (reverse) map
* Simple bench test to measure performance of RPF usage on client side