Package org.jaxxy.example.service
Interface HelloService
-
- All Known Implementing Classes:
DefaultHelloService
@Path("/hello") public interface HelloService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HelloResponsehello(String name, int n)HelloProtos.HelloResponsehelloProto(String name, int n)HelloResponsehelloSmile(String name, int n)HelloResponsehelloYaml(String name, int n)
-
-
-
Method Detail
-
hello
@GET @Path("/{name}/{n}") @Produces("application/json") HelloResponse hello(@PathParam("name") String name, @PathParam("n") @DefaultValue("1") int n)
-
helloSmile
@GET @Path("/smile/{name}/{n}") @Produces("application/x-jackson-smile") HelloResponse helloSmile(@PathParam("name") String name, @PathParam("n") @DefaultValue("1") int n)
-
helloYaml
@GET @Path("/yaml/{name}/{n}") @Produces("application/yaml") HelloResponse helloYaml(@PathParam("name") String name, @PathParam("n") @DefaultValue("1") int n)
-
helloProto
@GET @Path("/proto/{name}/{n}") @Produces("application/protobuf") HelloProtos.HelloResponse helloProto(@PathParam("name") String name, @PathParam("n") @DefaultValue("1") int n)
-
-