@Component @RequestScoped public class RestfulSerialization extends XStreamXMLSerialization
Constructor and Description |
---|
RestfulSerialization(javax.servlet.http.HttpServletResponse response,
TypeNameExtractor extractor,
Restfulie restfulie,
Configuration config,
ProxyInitializer initializer,
XStreamBuilder builder) |
Modifier and Type | Method and Description |
---|---|
protected com.thoughtworks.xstream.XStream |
getXStream()
You can override this method for configuring XStream before serialization.
|
accepts, from, from, getSerializer
public RestfulSerialization(javax.servlet.http.HttpServletResponse response, TypeNameExtractor extractor, Restfulie restfulie, Configuration config, ProxyInitializer initializer, XStreamBuilder builder)
protected com.thoughtworks.xstream.XStream getXStream()
getXStream
in class XStreamXMLSerialization
Copyright © 2013 Caelum. All Rights Reserved.