public class ImportReferenceJsonSerializer
extends java.lang.Object
Constructor and Description |
---|
ImportReferenceJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
static ImportReference |
deserialize(JSONObject contactObject) |
long |
getSize(ImportReference 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) |
ImportReference |
readFrom(java.lang.Class<ImportReference> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.InputStream entityStream) |
static JSONObject |
serialize(ImportReference reference) |
void |
writeTo(ImportReference 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 ImportReference readFrom(java.lang.Class<ImportReference> 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 static ImportReference 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(ImportReference 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(ImportReference reference)
public long getSize(ImportReference t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
Copyright © 2018. All Rights Reserved.