Class AbstractOslcRdfJsonProvider
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.provider.json4j.AbstractOslcRdfJsonProvider
-
- Direct Known Subclasses:
OslcCompactJsonProvider
,OslcRdfJsonArrayProvider
,OslcRdfJsonCollectionProvider
,OslcRdfJsonProvider
@Deprecated public abstract class AbstractOslcRdfJsonProvider extends Object
Deprecated.Use JSON-LD support in Jena provider.
-
-
Field Summary
Fields Modifier and Type Field Description protected HttpServletRequest
httpServletRequest
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractOslcRdfJsonProvider()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Response
buildBadRequestResponse(Exception exception, MediaType errorMediaType, MultivaluedMap<String,?> map)
Deprecated.protected static boolean
isOslcQuery(String parmString)
Deprecated.protected static boolean
isReadable(Class<?> type, MediaType requiredMediaType, MediaType actualMediaType)
Deprecated.protected static boolean
isWriteable(Class<?> type, Annotation[] annotations, MediaType requiredMediaType, MediaType actualMediaType)
Deprecated.protected Object[]
readFrom(Class<?> type, MediaType errorMediaType, MultivaluedMap<String,String> map, InputStream inputStream)
Deprecated.protected void
writeTo(boolean queryResult, Object[] objects, MediaType errorMediaType, MultivaluedMap<String,Object> map, OutputStream outputStream)
Deprecated.protected void
writeTo(Object[] objects, MediaType errorMediaType, MultivaluedMap<String,Object> map, OutputStream outputStream, Map<String,Object> properties, String descriptionURI, String responseInfoURI, ResponseInfo<?> responseInfo)
Deprecated.
-
-
-
Field Detail
-
httpServletRequest
@Context protected HttpServletRequest httpServletRequest
Deprecated.
-
-
Method Detail
-
isWriteable
protected static boolean isWriteable(Class<?> type, Annotation[] annotations, MediaType requiredMediaType, MediaType actualMediaType)
Deprecated.
-
writeTo
protected void writeTo(boolean queryResult, Object[] objects, MediaType errorMediaType, MultivaluedMap<String,Object> map, OutputStream outputStream) throws WebApplicationException
Deprecated.- Throws:
WebApplicationException
-
writeTo
protected void writeTo(Object[] objects, MediaType errorMediaType, MultivaluedMap<String,Object> map, OutputStream outputStream, Map<String,Object> properties, String descriptionURI, String responseInfoURI, ResponseInfo<?> responseInfo) throws WebApplicationException
Deprecated.- Throws:
WebApplicationException
-
isReadable
protected static boolean isReadable(Class<?> type, MediaType requiredMediaType, MediaType actualMediaType)
Deprecated.
-
readFrom
protected Object[] readFrom(Class<?> type, MediaType errorMediaType, MultivaluedMap<String,String> map, InputStream inputStream) throws WebApplicationException
Deprecated.- Throws:
WebApplicationException
-
buildBadRequestResponse
protected Response buildBadRequestResponse(Exception exception, MediaType errorMediaType, MultivaluedMap<String,?> map)
Deprecated.
-
isOslcQuery
protected static boolean isOslcQuery(String parmString)
Deprecated.
-
-