Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5140

Support typed JAXRS proxies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 2.7.7, 3.0.0-milestone1
    • JAX-RS
    • None
    • Unknown

    Description

      if we have

      public interface Service<T> {
      
        T get();
      
      }
      

      Then we should be able to have

      Service<Book> service = JAXRSClientFactory.create(address, new GenericType<Service<Book>>());
      
      service.get();
      
      

      This will allow the proxy pass on the correct type info to the providers

      Attachments

        Issue Links

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              sergey_beryozkin Sergey Beryozkin
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: