Package br.com.caelum.restfulie.relation

Examples of br.com.caelum.restfulie.relation.DefaultEnhancer


    helper = new XStreamHelper(new JettisonMappedXmlDriver(), enhancer);
    this.xstream = helper.getXStream(getTypesToEnhance(), getCollectionNames());
    configure(xstream);
  }
  public JsonMediaType() {
    this(new CachedEnhancer(new DefaultEnhancer()));
  }
View Full Code Here


    private URI lastURI = null;
 
  private final ExecutorService threads;

  public DefaultRestClient() {
    this(new CachedEnhancer(new DefaultEnhancer()));
  }
View Full Code Here

  /**
   * Entry point to configure serialization data prior to accessing the resources.
   */
  public static RestClient custom() {
    return new DefaultRestClient(new CachedEnhancer(new DefaultEnhancer()));
  }
View Full Code Here

    XmlFriendlyReplacer replacer = new XmlFriendlyReplacer("$", "_");
    helper = new XStreamHelper(new StaxDriver(qnameMap, replacer), enhancer);
  }
 
  public XmlMediaType() {
    this(new CachedEnhancer(new DefaultEnhancer()));
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.restfulie.relation.DefaultEnhancer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.