Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: fb33d3c1bac91bdb1d686008bb679fae7044820d
https://github.com/resteasy/Resteasy/commit/fb33d3c1bac91bdb1d686008bb679...
Author: Alessio Soldano <soldano.servizi(a)email.it>
Date: 2017-07-20 (Thu, 20 Jul 2017)
Changed paths:
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastInfosetCollectionProvider.java
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastInfosetMapProvider.java
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetElementProvider.java
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetJAXBContextFinder.java
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetXmlRootElementProvider.java
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetXmlSeeAlsoProvider.java
M
providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetXmlTypeProvider.java
M
providers/jackson/src/main/java/org/jboss/resteasy/plugins/providers/jackson/ResteasyJacksonProvider.java
M
providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/ResteasyJackson2Provider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/CollectionProvider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBElementProvider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlRootElementProvider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlSeeAlsoProvider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlTypeProvider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/MapProvider.java
M
providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/XmlJAXBContextFinder.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonElementProvider.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonXmlRootElementProvider.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonXmlSeeAlsoProvider.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonXmlTypeProvider.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JsonCollectionProvider.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JsonJAXBContextFinder.java
M
providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JsonMapProvider.java
M
providers/json-p-ee7/src/main/java/org/jboss/resteasy/plugins/providers/jsonp/JsonArrayProvider.java
M
providers/json-p-ee7/src/main/java/org/jboss/resteasy/plugins/providers/jsonp/JsonObjectProvider.java
M
providers/json-p-ee7/src/main/java/org/jboss/resteasy/plugins/providers/jsonp/JsonStructureProvider.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ServerResponseWriter.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/DocumentProvider.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/SourceProvider.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyProviderFactory.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/WeldUtil.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jaxb/BadContentTypeTest.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jaxb/resource/BadContenTypeTestResource.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/MessageBodyWriterObjectDefaultTest.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/resource/MessageBodyWriterObjectMessage.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/resource/MessageBodyWriterObjectMessageBodyWriter.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/resource/MessageBodyWriterObjectResource.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/MediaTypeNegotiationTest.java
M
testsuite/legacy-integration-tests/src/test/java/org/jboss/resteasy/test/providers/jaxb/BadContentTypeTest.java
M
testsuite/legacy-integration-tests/src/test/java/org/jboss/resteasy/test/providers/jaxb/resource/BadContenTypeTestResource.java
M
testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/providers/UserDefinedContextResolverTest.java
Log Message:
-----------
[RESTEASY-1686] MediaType negotiation issues (2nd attempt) (#1211)
* [RESTEASY-1686] Add an additional sorting criteria for @Produces media types contributed
by MBWs
* [RESTEASY-1686] Adding a bunch of integration tests, including scenarios described on
JIRA (thanks Nicolas Nesmon)
* [RESTEASY-1686] Use same CDI hack as the one for RESTEASY-985 / WELD-1539, so that
parameter types are discovered also for Weld proxies
* [RESTEASY-1686] Explicitly add non structured syntax suffixes media types (RFC 6839) to
@Produces/@Consumes annotation on providers, to avoid issues with eg.
MediaType.valueOf("application/xml").isComptatible(MediaType.valueOf("application/*+xml"))
being false
* [RESTEASY-1686] Revisit the implementation of the response MediaType negotiation + add
missing module dependency in a couple of tests
* [RESTEASY-1686] Fixing broken tests
* [RESTEASY-1686] More on RFC 6839 support
* [RESTEASY-1686] Improve implementation of JAX-RS spec Section 3.8 to use accept media
type currently being processed instead of */* for preliminary P set creation. This fixes
issue with jackson2 provider not being considered because isWritable returns false for */*
accept type. Reverting previously changed tests accordingly.
* [RESTEASY-1686] Minor cleanup, removing unused code
* [RESTEASY-1686] Removing unused code