public class TransactionsJsonSerializer
extends java.lang.Object
Constructor and Description |
---|
TransactionsJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(java.util.List<Transaction> t,
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) |
static JSONArray |
serialize(java.util.List<Transaction> transactions) |
void |
writeTo(java.util.List<Transaction> transactions,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.OutputStream entityStream) |
public boolean isWriteable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
public void writeTo(java.util.List<Transaction> transactions, 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 JSONArray serialize(java.util.List<Transaction> transactions)
public long getSize(java.util.List<Transaction> t, java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
Copyright © 2017. All Rights Reserved.