public class XmlBeamHttpMessageConverter extends org.springframework.http.converter.AbstractHttpMessageConverter<Object>
HttpMessageConverter
to create XMLBeam-based projection instances for interfaces.Constructor and Description |
---|
XmlBeamHttpMessageConverter()
Creates a new
XmlBeamHttpMessageConverter . |
Modifier and Type | Method and Description |
---|---|
boolean |
canWrite(Class<?> clazz,
org.springframework.http.MediaType mediaType) |
protected Object |
readInternal(Class<? extends Object> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
protected boolean |
supports(Class<?> type) |
protected void |
writeInternal(Object t,
org.springframework.http.HttpOutputMessage outputMessage) |
public XmlBeamHttpMessageConverter()
XmlBeamHttpMessageConverter
.protected boolean supports(Class<?> type)
supports
in class org.springframework.http.converter.AbstractHttpMessageConverter<Object>
public boolean canWrite(Class<?> clazz, org.springframework.http.MediaType mediaType)
protected Object readInternal(Class<? extends Object> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
readInternal
in class org.springframework.http.converter.AbstractHttpMessageConverter<Object>
IOException
org.springframework.http.converter.HttpMessageNotReadableException
protected void writeInternal(Object t, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
writeInternal
in class org.springframework.http.converter.AbstractHttpMessageConverter<Object>
IOException
org.springframework.http.converter.HttpMessageNotWritableException
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.