|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.jackson.jaxrs.JacksonJsonProvider
com.createsend.util.jersey.JsonProvider
public class JsonProvider
An extension of the Jersey JacksonJsonProvider used to set Jackson serialisation/deserialisation properties
| Field Summary | |
|---|---|
static DateFormat |
ApiDateFormat
|
| Fields inherited from class org.codehaus.jackson.jaxrs.JacksonJsonProvider |
|---|
_cfgCheckCanDeserialize, _cfgCheckCanSerialize, _cfgCustomUntouchables, _jsonpFunctionName, _mapperConfig, _providers, _unreadableClasses, _untouchables, _unwritableClasses, BASIC_ANNOTATIONS |
| Constructor Summary | |
|---|---|
JsonProvider()
|
|
| Method Summary | |
|---|---|
Object |
readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
|
void |
writeTo(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
|
| Methods inherited from class org.codehaus.jackson.jaxrs.JacksonJsonProvider |
|---|
_containedIn, _convertType, addUntouchable, checkCanDeserialize, checkCanSerialize, configure, configure, configure, configure, disable, disable, disable, disable, enable, enable, enable, enable, getSize, isJsonType, isReadable, isWriteable, locateMapper, setAnnotationsToUse, setJSONPFunctionName, setMapper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DateFormat ApiDateFormat
| Constructor Detail |
|---|
public JsonProvider()
| Method Detail |
|---|
public void writeTo(Object value,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<Object>writeTo in class org.codehaus.jackson.jaxrs.JacksonJsonProviderIOException
public Object readFrom(Class<Object> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
throws IOException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<Object>readFrom in class org.codehaus.jackson.jaxrs.JacksonJsonProviderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||