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
* Add KiwiMediaTypes utility class
* Add jakarta.ws.rs-api as a provided dependency so that
it is not a required transitive dependency. Only if callers
use the methods that accept Jakarta RS MediaType will
that dependency be needed. If they are only using Strings
then the only dependency is Guava, which is already required.
* For the tests to use the Jakarta RS MediaType#valueOf method
I needed to add jersey-common as a test-scope dependency
because valueOf internally requires an implementation
Closes#296
* Add media type utilities
* Add KiwiMediaTypes utility class
* Add jakarta.ws.rs-api as a provided dependency so that
it is not a required transitive dependency. Only if callers
use the methods that accept Jakarta RS MediaType will
that dependency be needed. If they are only using Strings
then the only dependency is Guava, which is already required.
* For the tests to use the Jakarta RS MediaType#valueOf method
I needed to add jersey-common as a test-scope dependency
because valueOf internally requires an implementation
Closes#296
* Remove the implementation note from isXml and isJson docs
We only need it on toStringWithOnlyTypeAndSubtype
* Rename private method and make public
Rename toStringWithOnlyTypeAndSubtype to toStringWithoutParameters
and make it public.
Add a new utility for working with media types.
They should work with either strings or JAX-RS/Jakarta-RS
MediaType
. This means they do not require use of JAX-RS/Jakarta-RS.See Consider adding new KiwiMediaTypes utility class in kiwi.
The text was updated successfully, but these errors were encountered: