protected class ResourceObjectMapperFactory.DefaultResourceObjectMapper extends java.lang.Object implements ResourceObjectMapper
| Constructor and Description |
|---|
DefaultResourceObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper,
ResourceContext resourceContext) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
protected com.fasterxml.jackson.databind.ObjectWriter |
getObjectWriter(java.lang.Class<?> view) |
ResourceContext |
getResourceContext() |
void |
write(com.fasterxml.jackson.core.JsonGenerator jgen,
java.lang.Object o) |
void |
write(com.fasterxml.jackson.core.JsonGenerator jgen,
java.lang.Object o,
java.lang.Class<?> view) |
java.lang.String |
write(java.lang.Object o) |
java.lang.String |
write(java.lang.Object o,
java.lang.Class<?> view) |
void |
write(java.io.OutputStream out,
java.lang.Object o) |
void |
write(java.io.OutputStream out,
java.lang.Object o,
java.lang.Class<?> view) |
public DefaultResourceObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper,
ResourceContext resourceContext)
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
getObjectMapper in interface ResourceObjectMapperpublic ResourceContext getResourceContext()
getResourceContext in interface ResourceObjectMapperpublic java.lang.String write(java.lang.Object o)
throws com.fasterxml.jackson.core.JsonProcessingException
write in interface ResourceObjectMappercom.fasterxml.jackson.core.JsonProcessingExceptionpublic void write(com.fasterxml.jackson.core.JsonGenerator jgen,
java.lang.Object o)
throws java.io.IOException
write in interface ResourceObjectMapperjava.io.IOExceptionpublic void write(java.io.OutputStream out,
java.lang.Object o)
throws java.io.IOException
write in interface ResourceObjectMapperjava.io.IOExceptionpublic void write(java.io.OutputStream out,
java.lang.Object o,
java.lang.Class<?> view)
throws java.io.IOException
write in interface ResourceObjectMapperjava.io.IOExceptionprotected com.fasterxml.jackson.databind.ObjectWriter getObjectWriter(java.lang.Class<?> view)
public java.lang.String write(java.lang.Object o,
java.lang.Class<?> view)
throws com.fasterxml.jackson.core.JsonProcessingException
write in interface ResourceObjectMappercom.fasterxml.jackson.core.JsonProcessingExceptionpublic void write(com.fasterxml.jackson.core.JsonGenerator jgen,
java.lang.Object o,
java.lang.Class<?> view)
throws java.io.IOException
write in interface ResourceObjectMapperjava.io.IOException