Class OslcRdfJsonArrayProvider
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.provider.json4j.AbstractOslcRdfJsonProvider
-
- org.eclipse.lyo.oslc4j.provider.json4j.OslcRdfJsonArrayProvider
-
- All Implemented Interfaces:
MessageBodyReader<Object[]>,MessageBodyWriter<Object[]>
- Direct Known Subclasses:
OslcSimpleRdfJsonArrayProvider
@Deprecated @Provider @Produces("application/json") @Consumes("application/json") public class OslcRdfJsonArrayProvider extends AbstractOslcRdfJsonProvider implements MessageBodyReader<Object[]>, MessageBodyWriter<Object[]>
Deprecated.Use JSON-LD support in Jena provider.
-
-
Field Summary
-
Fields inherited from class org.eclipse.lyo.oslc4j.provider.json4j.AbstractOslcRdfJsonProvider
httpServletRequest
-
-
Constructor Summary
Constructors Constructor Description OslcRdfJsonArrayProvider()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetSize(Object[] objects, Class<?> type, Type genericType, Annotation[] annotation, MediaType mediaType)Deprecated.booleanisReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)Deprecated.booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)Deprecated.Object[]readFrom(Class<Object[]> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> map, InputStream inputStream)Deprecated.voidwriteTo(Object[] objects, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> map, OutputStream outputStream)Deprecated.-
Methods inherited from class org.eclipse.lyo.oslc4j.provider.json4j.AbstractOslcRdfJsonProvider
buildBadRequestResponse, isOslcQuery, isReadable, isWriteable, readFrom, writeTo, writeTo
-
-
-
-
Method Detail
-
getSize
public long getSize(Object[] objects, Class<?> type, Type genericType, Annotation[] annotation, MediaType mediaType)
Deprecated.- Specified by:
getSizein interfaceMessageBodyWriter<Object[]>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
Deprecated.- Specified by:
isWriteablein interfaceMessageBodyWriter<Object[]>
-
writeTo
public void writeTo(Object[] objects, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> map, OutputStream outputStream) throws IOException, WebApplicationException
Deprecated.- Specified by:
writeToin interfaceMessageBodyWriter<Object[]>- Throws:
IOExceptionWebApplicationException
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
Deprecated.- Specified by:
isReadablein interfaceMessageBodyReader<Object[]>
-
readFrom
public Object[] readFrom(Class<Object[]> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> map, InputStream inputStream) throws IOException, WebApplicationException
Deprecated.- Specified by:
readFromin interfaceMessageBodyReader<Object[]>- Throws:
IOExceptionWebApplicationException
-
-