Tabnine Logo
ResourceBinding.getMethodBindings
Code IndexAdd Tabnine to your IDE (free)

How to use
getMethodBindings
method
in
ca.uhn.fhir.rest.server.ResourceBinding

Best Java code snippets using ca.uhn.fhir.rest.server.ResourceBinding.getMethodBindings (Showing top 12 results out of 315)

origin: jamesagnew/hapi-fhir

/**
 * Returns the method bindings for this server which are not specific to any particular resource type. This method is
 * internal to HAPI and developers generally do not need to interact with it. Use
 * with caution, as it may change.
 */
public List<BaseMethodBinding<?>> getServerBindings() {
  return myServerBinding.getMethodBindings();
}
origin: jamesagnew/hapi-fhir

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: jamesagnew/hapi-fhir

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
  Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<>();
  for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
    String resourceName = next.getResourceName();
    for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
      if (resourceToMethods.containsKey(resourceName) == false) {
        resourceToMethods.put(resourceName, new ArrayList<>());
      }
      resourceToMethods.get(resourceName).add(nextMethodBinding);
    }
  }
  for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
    String resourceName = "";
    if (resourceToMethods.containsKey(resourceName) == false) {
      resourceToMethods.put(resourceName, new ArrayList<>());
    }
    resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
  return resourceToMethods;
}
origin: jamesagnew/hapi-fhir

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: jamesagnew/hapi-fhir

serverBindings.addAll(baseMethodBinding.getMethodBindings());
origin: ca.uhn.hapi.fhir/hapi-fhir-server

/**
 * Returns the method bindings for this server which are not specific to any particular resource type. This method is
 * internal to HAPI and developers generally do not need to interact with it. Use
 * with caution, as it may change.
 */
public List<BaseMethodBinding<?>> getServerBindings() {
  return myServerBinding.getMethodBindings();
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
  Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
  for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
    String resourceName = next.getResourceName();
    for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
      if (resourceToMethods.containsKey(resourceName) == false) {
        resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
      }
      resourceToMethods.get(resourceName).add(nextMethodBinding);
    }
  }
  for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
    String resourceName = "";
    if (resourceToMethods.containsKey(resourceName) == false) {
      resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
    }
    resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
  return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu2.1

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
  Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<>();
  for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
    String resourceName = next.getResourceName();
    for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
      if (resourceToMethods.containsKey(resourceName) == false) {
        resourceToMethods.put(resourceName, new ArrayList<>());
      }
      resourceToMethods.get(resourceName).add(nextMethodBinding);
    }
  }
  for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
    String resourceName = "";
    if (resourceToMethods.containsKey(resourceName) == false) {
      resourceToMethods.put(resourceName, new ArrayList<>());
    }
    resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
  return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-hl7org-dstu2

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-r4

private Map<String, List<BaseMethodBinding<?>>> collectMethodBindings() {
 Map<String, List<BaseMethodBinding<?>>> resourceToMethods = new TreeMap<String, List<BaseMethodBinding<?>>>();
 for (ResourceBinding next : getServerConfiguration().getResourceBindings()) {
  String resourceName = next.getResourceName();
  for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
   if (resourceToMethods.containsKey(resourceName) == false) {
    resourceToMethods.put(resourceName, new ArrayList<BaseMethodBinding<?>>());
   }
   resourceToMethods.get(resourceName).add(nextMethodBinding);
  }
 }
 for (BaseMethodBinding<?> nextMethodBinding : getServerConfiguration().getServerBindings()) {
  String resourceName = "";
  if (resourceToMethods.containsKey(resourceName) == false) {
   resourceToMethods.put(resourceName, new ArrayList<>());
  }
  resourceToMethods.get(resourceName).add(nextMethodBinding);
 }
 return resourceToMethods;
}
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

for (BaseMethodBinding<?> nextMethodBinding : next.getMethodBindings()) {
  if (nextMethodBinding.getRestOperationType() != null) {
    RestfulOperationTypeEnum resOp = RestfulOperationTypeEnum.VALUESET_BINDER.fromCodeString(nextMethodBinding.getRestOperationType().getCode());
ca.uhn.fhir.rest.serverResourceBindinggetMethodBindings

Popular methods of ResourceBinding

  • getResourceName
  • <init>
  • addMethod
  • setResourceName
  • getMethod

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now