Class JacksonSerializationProvider
- java.lang.Object
-
- org.apache.streampipes.rest.shared.serializer.JsonJerseyProvider
-
- org.apache.streampipes.rest.shared.serializer.JacksonSerializationProvider
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<Object>,javax.ws.rs.ext.MessageBodyWriter<Object>
@Provider @Produces("application/json") @Consumes("application/json") public class JacksonSerializationProvider extends JsonJerseyProvider
-
-
Constructor Summary
Constructors Constructor Description JacksonSerializationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Objectdeserialize(InputStreamReader reader, Type type)protected booleanrequiredAnnotationsPresent(Annotation[] annotations)protected voidserialize(Object t, Type type, Writer writer)-
Methods inherited from class org.apache.streampipes.rest.shared.serializer.JsonJerseyProvider
getSize, isReadable, isWriteable, jsonSerialized, readFrom, writeTo
-
-
-
-
Method Detail
-
requiredAnnotationsPresent
protected boolean requiredAnnotationsPresent(Annotation[] annotations)
- Specified by:
requiredAnnotationsPresentin classJsonJerseyProvider
-
serialize
protected void serialize(Object t, Type type, Writer writer) throws IOException
- Specified by:
serializein classJsonJerseyProvider- Throws:
IOException
-
deserialize
protected Object deserialize(InputStreamReader reader, Type type) throws IOException
- Specified by:
deserializein classJsonJerseyProvider- Throws:
IOException
-
-