public class EntityBodyConverter extends java.lang.Object implements ISerializer
The implementation uses Xstream to provide
serialization/deserialization capabilities. If the users to wish to provide
their own implementation they can do so by plugging in their own provider
here and annotating their classes with that provider by specifying the
Serializer annotation.
| Constructor and Description |
|---|
EntityBodyConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
read(java.io.InputStream is,
java.lang.Class type,
javax.ws.rs.core.MediaType mediaType) |
void |
write(java.lang.Object object,
java.io.OutputStream os,
javax.ws.rs.core.MediaType mediaType) |
public java.lang.Object read(java.io.InputStream is,
java.lang.Class type,
javax.ws.rs.core.MediaType mediaType)
throws java.io.IOException
read in interface ISerializerjava.io.IOExceptionpublic void write(java.lang.Object object,
java.io.OutputStream os,
javax.ws.rs.core.MediaType mediaType)
throws java.io.IOException
write in interface ISerializerjava.io.IOException