/**
*
*/
package org.jboss.resteasy.plugins.providers;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.ext.MessageBodyReader;
import javax.ws.rs.ext.MessageBodyWriter;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
A AbstractEntityProvider.
Author: Ryan J. McDonough Type parameters: - <T> – type
Version: $Revision: $
/**
* A AbstractEntityProvider.
*
* @param <T> type
* @author <a href="ryan@damnhandy.com">Ryan J. McDonough</a>
* @version $Revision: $
*/
public abstract class AbstractEntityProvider<T>
implements MessageBodyReader<T>, MessageBodyWriter<T>
{
public long getSize(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
{
return -1;
}
}