Class OslcRdfJsonProvider
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.provider.json4j.AbstractOslcRdfJsonProvider
-
- org.eclipse.lyo.oslc4j.provider.json4j.OslcRdfJsonProvider
-
- All Implemented Interfaces:
MessageBodyReader<Object>
,MessageBodyWriter<Object>
@Deprecated @Provider @Produces("application/json") @Consumes("application/json") public final class OslcRdfJsonProvider 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 OslcRdfJsonProvider()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getSize(Object object, Class<?> type, Type genericType, Annotation[] annotation, MediaType mediaType)
Deprecated.boolean
isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
Deprecated.boolean
isWriteable(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.void
writeTo(Object object, 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 object, Class<?> type, Type genericType, Annotation[] annotation, MediaType mediaType)
Deprecated.- Specified by:
getSize
in interfaceMessageBodyWriter<Object>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
Deprecated.- Specified by:
isWriteable
in interfaceMessageBodyWriter<Object>
-
writeTo
public void writeTo(Object object, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> map, OutputStream outputStream) throws IOException, WebApplicationException
Deprecated.- Specified by:
writeTo
in interfaceMessageBodyWriter<Object>
- Throws:
IOException
WebApplicationException
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
Deprecated.- Specified by:
isReadable
in 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:
readFrom
in interfaceMessageBodyReader<Object>
- Throws:
IOException
WebApplicationException
-
-