Package org.springframework.data.web
Class XmlBeamHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Object>
org.springframework.data.web.XmlBeamHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<Object>
A read-only 
HttpMessageConverter to create XMLBeam-based projection instances for interfaces.- Author:
- Oliver Gierke, Christoph Strobl, Johannes Englmeier
- See Also:
- 
Field SummaryFields inherited from class org.springframework.http.converter.AbstractHttpMessageConverterlogger
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a newXmlBeamHttpMessageConverter.XmlBeamHttpMessageConverter(org.xmlbeam.XBProjector projector) Creates a newXmlBeamHttpMessageConverterusing the givenXBProjector.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanprotected ObjectreadInternal(Class<? extends Object> clazz, HttpInputMessage inputMessage) protected booleanprotected voidwriteInternal(Object t, HttpOutputMessage outputMessage) Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverteraddDefaultHeaders, canRead, canRead, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supportsRepeatableWrites, writeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConvertergetSupportedMediaTypes
- 
Constructor Details- 
XmlBeamHttpMessageConverterpublic XmlBeamHttpMessageConverter()Creates a newXmlBeamHttpMessageConverter.
- 
XmlBeamHttpMessageConverterpublic XmlBeamHttpMessageConverter(org.xmlbeam.XBProjector projector) Creates a newXmlBeamHttpMessageConverterusing the givenXBProjector.- Parameters:
- projector- must not be null.
 
 
- 
- 
Method Details- 
supports- Specified by:
- supportsin class- AbstractHttpMessageConverter<Object>
 
- 
canWrite- Specified by:
- canWritein interface- HttpMessageConverter<Object>
- Overrides:
- canWritein class- AbstractHttpMessageConverter<Object>
 
- 
readInternalprotected Object readInternal(Class<? extends Object> clazz, HttpInputMessage inputMessage) throws IOException, HttpMessageNotReadableException - Specified by:
- readInternalin class- AbstractHttpMessageConverter<Object>
- Throws:
- IOException
- HttpMessageNotReadableException
 
- 
writeInternalprotected void writeInternal(Object t, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException - Specified by:
- writeInternalin class- AbstractHttpMessageConverter<Object>
- Throws:
- IOException
- HttpMessageNotWritableException
 
 
-