35363738394041
helper = new XStreamHelper(new JettisonMappedXmlDriver(), enhancer); this.xstream = helper.getXStream(getTypesToEnhance(), getCollectionNames()); configure(xstream); } public JsonMediaType() { this(new CachedEnhancer(new DefaultEnhancer())); }
53545556575859
private URI lastURI = null; private final ExecutorService threads; public DefaultRestClient() { this(new CachedEnhancer(new DefaultEnhancer())); }
42434445464748
/** * Entry point to configure serialization data prior to accessing the resources. */ public static RestClient custom() { return new DefaultRestClient(new CachedEnhancer(new DefaultEnhancer())); }
55565758596061
XmlFriendlyReplacer replacer = new XmlFriendlyReplacer("$", "_"); helper = new XStreamHelper(new StaxDriver(qnameMap, replacer), enhancer); } public XmlMediaType() { this(new CachedEnhancer(new DefaultEnhancer())); }