public class JaxbXmlMessageConverter<T> extends java.lang.Object implements HttpMessageReader<T>, HttpMessageWriter<T>
| Constructor and Description |
|---|
JaxbXmlMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(java.lang.reflect.Type type) |
boolean |
canWrite(java.lang.Class<?> type) |
java.lang.String |
contentType() |
T |
read(HttpResponseMessage httpResponseMessage,
java.lang.reflect.Type expectedType) |
void |
write(T body,
HttpRequestMessage httpRequestMessage) |
public java.lang.String contentType()
contentType in interface HttpMessageConverterpublic boolean canRead(java.lang.reflect.Type type)
canRead in interface HttpMessageReader<T>public T read(HttpResponseMessage httpResponseMessage, java.lang.reflect.Type expectedType)
read in interface HttpMessageReader<T>public boolean canWrite(java.lang.Class<?> type)
canWrite in interface HttpMessageWriter<T>public void write(T body, HttpRequestMessage httpRequestMessage) throws RestifyHttpMessageWriteException
write in interface HttpMessageWriter<T>RestifyHttpMessageWriteExceptionCopyright © 2017. All Rights Reserved.