public abstract class AbstractEMFMessageBodyReaderWriter<R,W>
extends java.lang.Object
Resource MessageBodyReader and MessageBodyWriter| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AnnotationConverter> |
annotationConverters |
| Constructor and Description |
|---|
AbstractEMFMessageBodyReaderWriter()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ResourceSetFactory |
getResourceSetFactory() |
Resource |
readResourceFrom(java.lang.Class<Resource> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.InputStream entityStream) |
void |
writeResourceTo(Resource t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.OutputStream entityStream) |
protected java.util.List<AnnotationConverter> annotationConverters
public AbstractEMFMessageBodyReaderWriter()
public void writeResourceTo(Resource 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
t - type - genericType - annotations - mediaType - httpHeaders - entityStream - java.io.IOExceptionWebApplicationExceptionpublic Resource readResourceFrom(java.lang.Class<Resource> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
java.io.InputStream entityStream)
throws java.io.IOException,
WebApplicationException
type - genericType - annotations - mediaType - httpHeaders - entityStream - java.io.IOExceptionWebApplicationExceptionprotected abstract ResourceSetFactory getResourceSetFactory()
Data In Motion Consulting GmbH (2017)