public class ContactReferenceJsonSerializer
extends java.lang.Object
Constructor and Description |
---|
ContactReferenceJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
ContactReference |
deserialize(JSONObject contactObject) |
long |
getSize(ContactReference t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType) |
ContactReference |
readFrom(java.lang.Class<ContactReference> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.InputStream entityStream) |
static JSONObject |
serialize(ContactReference contact) |
void |
writeTo(ContactReference t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.OutputStream entityStream) |
public boolean isReadable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
public ContactReference readFrom(java.lang.Class<ContactReference> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, <any> httpHeaders, java.io.InputStream entityStream) throws java.io.IOException, WebApplicationException
java.io.IOException
WebApplicationException
public ContactReference deserialize(JSONObject contactObject)
public boolean isWriteable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
public void writeTo(ContactReference t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, <any> httpHeaders, java.io.OutputStream entityStream) throws java.io.IOException, WebApplicationException
java.io.IOException
WebApplicationException
public static JSONObject serialize(ContactReference contact)
public long getSize(ContactReference t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
Copyright © 2018. All Rights Reserved.