code: private static ServiceWeb
    buildWebService(WebBuilder builder,
                    Function<RequestWeb,Object> beanFactory,
                    Method method)
    {
      Parameter []params = method.getParameters();
  
      WebParam []webParam = new WebParam[params.length];
  
      for (int i = 0; i < params.length; i++) {
        webParam[i] = buildParam(builder, params[i]);
      }
  
      return new WebServiceMethod(beanFactory, method, webParam);
    }
docs: Builds a HTTP service from a method.
  
  <pre><code>
  &#64;Get
  void myMethod(&64;Query("id") id, Result&lt;String&gt; result);
  </code></pre>
  
  Method parameters are filled from the request.
  
  @param builder called to create the service
  @param beanFactory factory for the bean instance
  @param method method for the service