public class RecordHttpMessageConverter extends AbstractHttpMessageConverter<Record>
| Constructor and Description |
|---|
RecordHttpMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
GeometryFactory |
getGeometryFactory() |
List<String> |
getRequestAttributeNames() |
Record |
read(Class<? extends Record> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
void |
setGeometryFactory(GeometryFactory geometryFactory) |
void |
setRequestAttributeNames(List<String> requestAttributeNames) |
void |
write(Record record,
org.springframework.http.MediaType mediaType,
org.springframework.http.HttpOutputMessage outputMessage) |
canRead, canWrite, getDefaultMediaType, getMediaTypes, getSupportedMediaTypes, isReadSupported, isWriteSupported, setDefaultMediaType, supportspublic GeometryFactory getGeometryFactory()
public Record read(Class<? extends Record> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
read in interface org.springframework.http.converter.HttpMessageConverter<Record>read in class AbstractHttpMessageConverter<Record>IOExceptionorg.springframework.http.converter.HttpMessageNotReadableExceptionpublic void setGeometryFactory(GeometryFactory geometryFactory)
public void write(Record record, org.springframework.http.MediaType mediaType, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
write in interface org.springframework.http.converter.HttpMessageConverter<Record>write in class AbstractHttpMessageConverter<Record>IOExceptionorg.springframework.http.converter.HttpMessageNotWritableExceptionCopyright © 2015 Revolution Systems Inc.. All rights reserved.