Package org.apache.johnzon.jaxrs
Class WildcardJohnzonProvider<T>
- java.lang.Object
-
- org.apache.johnzon.jaxrs.DelegateProvider<T>
-
- org.apache.johnzon.jaxrs.WildcardJohnzonProvider<T>
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<T>
,jakarta.ws.rs.ext.MessageBodyWriter<T>
@Provider @Produces({"*/json","*/*+json","*/x-json","*/javascript","*/x-javascript"}) @Consumes({"*/json","*/*+json","*/x-json","*/javascript","*/x-javascript"}) public class WildcardJohnzonProvider<T> extends DelegateProvider<T>
-
-
Constructor Summary
Constructors Constructor Description WildcardJohnzonProvider()
WildcardJohnzonProvider(org.apache.johnzon.mapper.Mapper mapper, Collection<String> ignores)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
shouldThrowNoContentExceptionOnEmptyStreams()
-
Methods inherited from class org.apache.johnzon.jaxrs.DelegateProvider
getSize, isReadable, isWriteable, readFrom, writeTo
-
-
-
-
Constructor Detail
-
WildcardJohnzonProvider
public WildcardJohnzonProvider(org.apache.johnzon.mapper.Mapper mapper, Collection<String> ignores)
-
WildcardJohnzonProvider
public WildcardJohnzonProvider()
-
-
Method Detail
-
shouldThrowNoContentExceptionOnEmptyStreams
protected boolean shouldThrowNoContentExceptionOnEmptyStreams()
- Overrides:
shouldThrowNoContentExceptionOnEmptyStreams
in classDelegateProvider<T>
-
-