public class AlpsJsonHttpMessageConverter extends MappingJackson2HttpMessageConverter
DEFAULT_CHARSETlogger| Constructor and Description |
|---|
AlpsJsonHttpMessageConverter(RootResourceInformationToAlpsDescriptorConverter converter)
Creates a new
AlpsJsonHttpMessageConverter for the given Converter. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Type type,
Class<?> contextClass,
MediaType mediaType) |
boolean |
canWrite(Class<?> clazz,
MediaType mediaType) |
protected void |
writeInternal(Object object,
HttpOutputMessage outputMessage) |
canRead, getJavaType, getJsonEncoding, getObjectMapper, read, readInternal, setJsonPrefix, setObjectMapper, setPrefixJson, setPrettyPrint, supportscanRead, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedMediaTypes, read, writepublic AlpsJsonHttpMessageConverter(RootResourceInformationToAlpsDescriptorConverter converter)
AlpsJsonHttpMessageConverter for the given Converter.converter - must not be null.public boolean canWrite(Class<?> clazz, MediaType mediaType)
canWrite in interface HttpMessageConverter<Object>canWrite in class MappingJackson2HttpMessageConverterpublic boolean canRead(Type type, Class<?> contextClass, MediaType mediaType)
canRead in interface GenericHttpMessageConverter<Object>canRead in class MappingJackson2HttpMessageConverterprotected void writeInternal(Object object, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException
writeInternal in class MappingJackson2HttpMessageConverterIOExceptionHttpMessageNotWritableExceptionCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.