×

METHOD TO AUTO GENERATE JAX-RS REST SERVICE IMPLEMENTATION CLASSES FROM EXISTING INTERFACES

  • US 20140372970A1
  • Filed: 06/13/2013
  • Published: 12/18/2014
  • Est. Priority Date: 06/13/2013
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for auto generating a Java interface (JAX-RS) for representational state transfer (REST) web services by a web server processing system, comprising:

  • receiving a reference interface for a REST service object;

    receiving a set of determiners defining a plurality of configuration values for a REST service object to generate a service binding;

    determining a plurality of resource methods for each resource class in the reference interface, and for each resource method, determining a parameter, a return type, and an exception;

    sequentially processing each resource method of each class and writing the name of each resource into a string buffer;

    determining the operation type for each resource method for each resource class based on at least one predefined match and writing an operation name into the string buffer for each resource method;

    determining a return type for each resource method for each resource class; and

    converting each parameter in the resource method to a JAX-RS compatible parameter.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×