@Component @RequestScoped public class RestfulSerializationJSON extends XStreamJSONSerialization
builder, extractor, initializer, response
Constructor and Description |
---|
RestfulSerializationJSON(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, getHierarchicalStreamDriver, getSerializer, indented, withoutRoot
public RestfulSerializationJSON(javax.servlet.http.HttpServletResponse response, TypeNameExtractor extractor, Restfulie restfulie, Configuration config, ProxyInitializer initializer, XStreamBuilder builder)
protected com.thoughtworks.xstream.XStream getXStream()
getXStream
in class XStreamJSONSerialization
Copyright © 2013 Caelum. All Rights Reserved.