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
ConstructorsConstructorDescriptionJohnzonProvider(org.apache.johnzon.mapper.Mapper mapper, Collection<String> ignores) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanMethods inherited from class org.apache.johnzon.jaxrs.DelegateProvider
getSize, isReadable, isWriteable, readFrom, writeTo
-
Constructor Details
-
JohnzonProvider
-
JohnzonProvider
public JohnzonProvider()
-
-
Method Details
-
shouldThrowNoContentExceptionOnEmptyStreams
protected boolean shouldThrowNoContentExceptionOnEmptyStreams()- Overrides:
shouldThrowNoContentExceptionOnEmptyStreamsin classDelegateProvider<T>
-