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