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