Class JacksonRepresentation
java.lang.Object
is.galia.resource.JacksonRepresentation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(OutputStream outputStream) Writes some kind of data (image data, HTML, JSON, etc.) to the given response stream for transmission to the client.void
write
(OutputStream outputStream, Map<com.fasterxml.jackson.databind.SerializationFeature, Boolean> serializationFeatures)
-
Constructor Details
-
JacksonRepresentation
-
-
Method Details
-
write
Description copied from interface:Representation
Writes some kind of data (image data, HTML, JSON, etc.) to the given response stream for transmission to the client.- Specified by:
write
in interfaceRepresentation
- Parameters:
outputStream
- Stream to write to, which should not be closed.- Throws:
IOException
-
write
public void write(OutputStream outputStream, Map<com.fasterxml.jackson.databind.SerializationFeature, Boolean> serializationFeatures) throws IOException- Throws:
IOException
-