Class JaxRsMethodBindings

java.lang.Object
ca.uhn.fhir.jaxrs.server.util.JaxRsMethodBindings

public class JaxRsMethodBindings extends Object
Class that contains the method bindings defined by a ResourceProvider
Author:
Peter Van Houte | peter.vanhoute@agfa.com | Agfa Healthcare
  • Field Details

  • Constructor Details

  • Method Details

    • getBinding

      public ca.uhn.fhir.rest.server.method.BaseMethodBinding getBinding(ca.uhn.fhir.rest.api.RestOperationTypeEnum operationType, String theBindingKey)
      Get the binding
      Parameters:
      operationType - the type of operation
      theBindingKey - the binding key
      Returns:
      the binding defined
      Throws:
      ca.uhn.fhir.rest.server.exceptions.NotImplementedOperationException - cannot be found
    • getMethodBindings

      public static JaxRsMethodBindings getMethodBindings(AbstractJaxRsProvider theProvider, Class<? extends AbstractJaxRsProvider> theProviderClass)
      Get the method bindings for the given class. If this class is not yet contained in the classBindings, they will be added for this class
      Parameters:
      theProvider - the implementation class
      theProviderClass - the provider class
      Returns:
      the methodBindings for this class