Class BeanResource


  • @Path("/bean")
    @ApplicationScoped
    public class BeanResource
    extends Object
    • Constructor Detail

      • BeanResource

        public BeanResource()
    • Method Detail

      • route

        @Path("/route/{route}")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String route​(String statement,
                            @PathParam("route")
                            String route)
      • route

        @Path("/route/{route}")
        @GET
        @Produces("text/plain")
        public String route​(@PathParam("route")
                            String route)
      • beanMethodInHeader

        @Path("/beanMethodInHeader")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String beanMethodInHeader​(String statement)
      • counter

        @Path("/counter")
        @GET
        @Produces("text/plain")
        public int counter()
      • routeBuilderInstanceCounter

        @Path("/route-builder-instance-counter")
        @GET
        @Produces("text/plain")
        public int routeBuilderInstanceCounter()
      • routeBuilderConfigureCounter

        @Path("/route-builder-configure-counter")
        @GET
        @Produces("text/plain")
        public int routeBuilderConfigureCounter()
      • routeBuilderInjectedCount

        @Path("/route-builder-injected-count")
        @GET
        @Produces("text/plain")
        public int routeBuilderInjectedCount()
      • lazyConfigureCounter

        @Path("/camel-configure-counter")
        @GET
        @Produces("text/plain")
        public int lazyConfigureCounter()
      • methodWithExchangeArg

        @Path("/employee/{route}")
        @POST
        @Consumes("application/json")
        @Produces("text/plain")
        public String methodWithExchangeArg​(Employee employee,
                                            @PathParam("route")
                                            String route)
      • parameterBindingAnnotations

        @Path("/parameterBindingAnnotations/{greeting}")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String parameterBindingAnnotations​(String statement,
                                                  @PathParam("greeting")
                                                  String greeting)
      • produceInterface

        @Path("/produceInterface")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String produceInterface​(String payload)
      • withDefaultBean

        @Path("/withDefaultBeanCount")
        @GET
        @Produces("application/json")
        public Set<String> withDefaultBean()
      • withAlternativeBean

        @Path("/withAlternativeBeanCount")
        @GET
        @Produces("application/json")
        public Set<String> withAlternativeBean()
      • withoutDefaultBeans

        @Path("/withoutDefaultBeans")
        @GET
        @Produces("application/json")
        public Set<String> withoutDefaultBeans()
      • withAllBeanInstances

        @Path("/allBeanInstances")
        @GET
        @Produces("application/json")
        public Set<String> withAllBeanInstances()