You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Jesey 2.41, JaxRSFeature.READ_FULL_STREAM is set to true by default. Due to this change, we have an interoperability problem that we cannot fix or avoid. So we want to disable this feature by default.
How can we disable this feature?
I googled a lot, but I cannot find a solution...
We don't register any sub ProviderBase classes manually to ResourceConfig.
Thank you.
The text was updated successfully, but these errors were encountered:
hkawa608
changed the title
How to disable JaxRSFeature.READ_FULL_STREAM.
How to disable JaxRSFeature.READ_FULL_STREAM?
Jan 10, 2024
Please understand that JaxRSFeature class is Jackson class, which Jersey merely repackages.
The proper way of configuring Jackson should be on the Jackson documentation page.
However...
The Jackson providers do contain enable() and disable() methods that are used to set the properties in JaxRSFeature.
So you should be able for instance to register the instance of Jackson providers (JacksonJaxbJsonProvider, JacksonJsonProvider) that have the disable() method set in Jersey.
Ref to e79aa53#diff-2ef29e24080600307e208ebcf3399be243501ea767e94224d4923f1f95828eaeR489-R491
In Jesey 2.41, JaxRSFeature.READ_FULL_STREAM is set to true by default. Due to this change, we have an interoperability problem that we cannot fix or avoid. So we want to disable this feature by default.
How can we disable this feature?
I googled a lot, but I cannot find a solution...
We don't register any sub ProviderBase classes manually to ResourceConfig.
Thank you.
The text was updated successfully, but these errors were encountered: