Class ModelHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<org.apache.jena.rdf.model.Model>
org.n52.helgoland.adapters.dcat.ModelHttpMessageConverter
- All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<org.apache.jena.rdf.model.Model>
public class ModelHttpMessageConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<org.apache.jena.rdf.model.Model>
-
Field Summary
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.jena.rdf.model.ModelreadInternal(Class<? extends org.apache.jena.rdf.model.Model> clazz, org.springframework.http.HttpInputMessage inputMessage) protected booleanprotected voidwriteInternal(org.apache.jena.rdf.model.Model model, org.springframework.http.HttpOutputMessage outputMessage) Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supportsRepeatableWrites, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes
-
Constructor Details
-
ModelHttpMessageConverter
public ModelHttpMessageConverter()
-
-
Method Details
-
supports
- Specified by:
supportsin classorg.springframework.http.converter.AbstractHttpMessageConverter<org.apache.jena.rdf.model.Model>
-
readInternal
protected org.apache.jena.rdf.model.Model readInternal(Class<? extends org.apache.jena.rdf.model.Model> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException - Specified by:
readInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<org.apache.jena.rdf.model.Model>- Throws:
IOExceptionorg.springframework.http.converter.HttpMessageNotReadableException
-
writeInternal
protected void writeInternal(org.apache.jena.rdf.model.Model model, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException - Specified by:
writeInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<org.apache.jena.rdf.model.Model>- Throws:
IOExceptionorg.springframework.http.converter.HttpMessageNotWritableException
-