All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cerner.beadledom.client.example.ResourceOneImpl Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package com.cerner.beadledom.client.example;

import com.cerner.beadledom.client.example.model.JsonOne;

/**
 * Service implementation of {@link ResourceOne}.
 *
 * @author John Leacox
 */
public class ResourceOneImpl implements ResourceOne {
  @Override
  public JsonOne get() {
    return JsonOne.create("One", "Hello World");
  }

  @Override
  public JsonOne echo(JsonOne json) {
    return json;
  }

  @Override
  public JsonOne patch(JsonOne json) {
    return json.builder()
        .setHello("Hola1")
        .setOne("New Json")
        .build();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy