Class FHIRRestSupport


  • public class FHIRRestSupport
    extends java.lang.Object
    Collection of support and utility methods related to the FHIR REST API.
    • Constructor Summary

      Constructors 
      Constructor Description
      FHIRRestSupport()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getEtagValue​(int versionId)
      Create an ETag header value using the given resource versionId
      static java.lang.String getEtagValue​(Resource resource)  
      static java.lang.String getEtagValueFromLocation​(java.net.URI locationURI)
      Get the ETag value by extracting the version from the locationURI
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FHIRRestSupport

        public FHIRRestSupport()
    • Method Detail

      • getEtagValue

        public static java.lang.String getEtagValue​(Resource resource)
      • getEtagValue

        public static java.lang.String getEtagValue​(int versionId)
        Create an ETag header value using the given resource versionId
        Parameters:
        versionId -
        Returns:
      • getEtagValueFromLocation

        public static java.lang.String getEtagValueFromLocation​(java.net.URI locationURI)
        Get the ETag value by extracting the version from the locationURI
        Parameters:
        locationURI -
        Returns: