com.cerner.beadledom.client.example.ResourceTwo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of util Show documentation
Show all versions of util Show documentation
Utils used by GraphStream.
The newest version!
package com.cerner.beadledom.client.example;
import com.cerner.beadledom.client.example.model.JsonTwo;
import com.cerner.beadledom.jaxrs.PATCH;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
/**
* Example rest resource two for beadledom-client.
*
* @author John Leacox
*/
@Path("/two")
public interface ResourceTwo {
@GET
@Produces("application/json")
JsonTwo get();
@POST
@Produces("application/json")
@Consumes("application/json")
JsonTwo echo(JsonTwo json);
@PATCH
@Produces("application/json")
@Consumes("application/json")
JsonTwo patch(JsonTwo json);
}
© 2015 - 2026 Weber Informatics LLC | Privacy Policy