Package org.apache.johnzon.jaxrs
Class JohnzonProvider<T>
- java.lang.Object
-
- org.apache.johnzon.jaxrs.DelegateProvider<T>
-
- org.apache.johnzon.jaxrs.JohnzonProvider<T>
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<T>
,jakarta.ws.rs.ext.MessageBodyWriter<T>
@Provider @Produces("application/json") @Consumes("application/json") public class JohnzonProvider<T> extends DelegateProvider<T>
-
-
Constructor Summary
Constructors Constructor Description JohnzonProvider()
JohnzonProvider(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
-
JohnzonProvider
public JohnzonProvider(org.apache.johnzon.mapper.Mapper mapper, Collection<String> ignores)
-
JohnzonProvider
public JohnzonProvider()
-
-
Method Detail
-
shouldThrowNoContentExceptionOnEmptyStreams
protected boolean shouldThrowNoContentExceptionOnEmptyStreams()
- Overrides:
shouldThrowNoContentExceptionOnEmptyStreams
in classDelegateProvider<T>
-
-