public class XmlBeamHttpMessageConverter extends AbstractHttpMessageConverter<Object>
HttpMessageConverter
to create XMLBeam-based projection instances for interfaces.http://www.xmlbeam.org
logger
Constructor and Description |
---|
XmlBeamHttpMessageConverter()
Creates a new
XmlBeamHttpMessageConverter . |
Modifier and Type | Method and Description |
---|---|
boolean |
canWrite(Class<?> clazz,
MediaType mediaType) |
protected Object |
readInternal(Class<? extends Object> clazz,
HttpInputMessage inputMessage) |
protected boolean |
supports(Class<?> type) |
protected void |
writeInternal(Object t,
HttpOutputMessage outputMessage) |
addDefaultHeaders, canRead, canRead, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write
public XmlBeamHttpMessageConverter()
XmlBeamHttpMessageConverter
.protected boolean supports(Class<?> type)
supports
in class AbstractHttpMessageConverter<Object>
public boolean canWrite(Class<?> clazz, MediaType mediaType)
canWrite
in interface HttpMessageConverter<Object>
canWrite
in class AbstractHttpMessageConverter<Object>
protected Object readInternal(Class<? extends Object> clazz, HttpInputMessage inputMessage) throws IOException, HttpMessageNotReadableException
readInternal
in class AbstractHttpMessageConverter<Object>
IOException
HttpMessageNotReadableException
protected void writeInternal(Object t, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException
writeInternal
in class AbstractHttpMessageConverter<Object>
IOException
HttpMessageNotWritableException
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.