Examples of NexusXStreamFactory


Examples of org.sonatype.nexus.client.internal.rest.NexusXStreamFactory

  @Override
  public final NexusClient createFor(final ConnectionInfo connectionInfo) {
    // we are java2java client, so we use XML instead of JSON, as
    // some current Nexus are one way only! So, we fix for XML
    final XStream xstream = new NexusXStreamFactory().createAndConfigureForXml();

    // we use XML for communication (unlike web browsers do, for which JSON makes more sense)
    return new JerseyNexusClient(
        connectionCondition,
        subsystemProviders,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.