Class JSON2RDFHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Object>
it.uniroma2.art.semanticturkey.mdr.services.JSON2RDFHttpMessageConverter
- All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<Object>
public class JSON2RDFHttpMessageConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<Object>
-
Field Summary
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapperprotected ObjectreadInternal(Class<? extends Object> clazz, org.springframework.http.HttpInputMessage inputMessage) protected booleanprotected voidwriteInternal(Object t, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes
-
Constructor Details
-
JSON2RDFHttpMessageConverter
public JSON2RDFHttpMessageConverter()
-
-
Method Details
-
supports
- Specified by:
supportsin classorg.springframework.http.converter.AbstractHttpMessageConverter<Object>
-
readInternal
protected Object readInternal(Class<? extends Object> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException - Specified by:
readInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<Object>- Throws:
IOExceptionorg.springframework.http.converter.HttpMessageNotReadableException
-
writeInternal
protected void writeInternal(Object t, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException - Specified by:
writeInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<Object>- Throws:
IOExceptionorg.springframework.http.converter.HttpMessageNotWritableException
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-