public class XStreamJSONPSerialization extends java.lang.Object implements JSONPSerialization
Constructor and Description |
---|
XStreamJSONPSerialization(javax.servlet.http.HttpServletResponse response,
TypeNameExtractor extractor,
ProxyInitializer initializer,
XStreamBuilder builder) |
Modifier and Type | Method and Description |
---|---|
JSONSerialization |
withCallback(java.lang.String callbackName)
sets the jsonp callback
|
public XStreamJSONPSerialization(javax.servlet.http.HttpServletResponse response, TypeNameExtractor extractor, ProxyInitializer initializer, XStreamBuilder builder)
public JSONSerialization withCallback(java.lang.String callbackName)
JSONPSerialization
withCallback
in interface JSONPSerialization
Copyright © 2013 Caelum. All Rights Reserved.