Interface HelloService

  • All Known Implementing Classes:
    DefaultHelloService

    @Path("/hello")
    public interface HelloService
    • 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)