public class XmlBeamHttpMessageConverter extends AbstractHttpMessageConverter<Object>
HttpMessageConverter to create XMLBeam-based projection instances for interfaces.logger| Constructor and Description |
|---|
XmlBeamHttpMessageConverter()
Creates a new
XmlBeamHttpMessageConverter. |
XmlBeamHttpMessageConverter(org.xmlbeam.XBProjector projector)
Creates a new
XmlBeamHttpMessageConverter using the given XBProjector. |
| 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, writepublic XmlBeamHttpMessageConverter()
XmlBeamHttpMessageConverter.public XmlBeamHttpMessageConverter(org.xmlbeam.XBProjector projector)
XmlBeamHttpMessageConverter using the given XBProjector.projector - must not be null.protected boolean supports(Class<?> type)
supports in class AbstractHttpMessageConverter<Object>public boolean canWrite(Class<?> clazz, @Nullable 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>IOExceptionHttpMessageNotReadableExceptionprotected void writeInternal(Object t, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException
writeInternal in class AbstractHttpMessageConverter<Object>IOExceptionHttpMessageNotWritableExceptionCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.