Package com.google.greaze.definition.rest.RestCallSpec

Examples of com.google.greaze.definition.rest.RestCallSpec.Builder


    this.inlined = inlined;
  }

  public static RestCallSpec generateRestCallSpec(
      CallPath callPath, Type resourceType, WebContextSpec webContextSpec) {
    Builder builder = new RestCallSpec.Builder(callPath, resourceType)
      .setWebContextSpec(webContextSpec);
    if (callPath.hasVersion()) {
      builder.setVersion(callPath.getVersion());
    }
    return builder.build();
  }
View Full Code Here

TOP

Related Classes of com.google.greaze.definition.rest.RestCallSpec.Builder

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.