Class AbstractOslcRdfXmlProvider
java.lang.Object
org.eclipse.lyo.oslc4j.provider.jena.AbstractOslcRdfXmlProvider
- Direct Known Subclasses:
OslcCompactRdfProvider
,OslcRdfXmlArrayProvider
,OslcRdfXmlCollectionProvider
,OslcRdfXmlProvider
- Author:
- Russell Boykin, Alberto Giammaria, Chris Peters, Gianluca Bernardini, Andrew Berezovskyi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
buildBadRequestResponse
(Exception exception, jakarta.ws.rs.core.MediaType initialErrorMediaType, jakarta.ws.rs.core.MultivaluedMap<String, ?> map) protected Object[]
readFrom
(Class<?> type, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> map, InputStream inputStream) protected void
writeTo
(boolean queryResult, Object[] objects, jakarta.ws.rs.core.MediaType baseMediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> map, OutputStream outputStream) protected void
writeTo
(Object[] objects, jakarta.ws.rs.core.MediaType baseMediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> map, OutputStream outputStream, Map<String, Object> properties, String descriptionURI, String responseInfoURI, ResponseInfo<?> responseInfo)
-
Field Details
-
OSLC4J_ALWAYS_XML_ABBREV
Deprecated.System property "org.eclipse.lyo.oslc4j.alwaysXMLAbbrev" : When "true", always abbreviate RDF/XML, even when asked for application/rdf+xml. Otherwise, abbreviated RDF/XML is only returned when application/xml is requested. Does not affect text/turtle responses.- See Also:
-
OSLC4J_STRICT_DATATYPES
Deprecated.System property "org.eclipse.lyo.oslc4j.strictDatatypes" : When "true" (default), fail on when reading a property value that is not a legal instance of a datatype. When "false", skip over invalid values in extended properties.- See Also:
-
httpServletRequest
@Context protected jakarta.servlet.http.HttpServletRequest httpServletRequest
-
-
Constructor Details
-
AbstractOslcRdfXmlProvider
protected AbstractOslcRdfXmlProvider()
-
-
Method Details
-
writeTo
protected void writeTo(Object[] objects, jakarta.ws.rs.core.MediaType baseMediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> map, OutputStream outputStream, Map<String, throws jakarta.ws.rs.WebApplicationExceptionObject> properties, String descriptionURI, String responseInfoURI, ResponseInfo<?> responseInfo) - Throws:
jakarta.ws.rs.WebApplicationException
-
writeTo
protected void writeTo(boolean queryResult, Object[] objects, jakarta.ws.rs.core.MediaType baseMediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> map, OutputStream outputStream) throws jakarta.ws.rs.WebApplicationException- Throws:
jakarta.ws.rs.WebApplicationException
-
readFrom
protected Object[] readFrom(Class<?> type, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> map, InputStream inputStream) throws jakarta.ws.rs.WebApplicationException- Throws:
jakarta.ws.rs.WebApplicationException
-
buildBadRequestResponse
-