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

net.winterly.rxjersey.example.GithubResource Maven / Gradle / Ivy

package net.winterly.rxjersey.example;

import rx.Single;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/example/")
@Produces(MediaType.APPLICATION_JSON)
public interface GithubResource {

    @GET
    @Path("github")
    Single getRepository();

    @GET
    @Path("echo/{message}")
    Single echo(@PathParam("message") String message);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy