Class HTTPLib

java.lang.Object
org.omegazero.http.HTTPLib

public class HTTPLib extends Object
This class contains metadata about omz-http-lib (for example the version string).
  • Field Details

    • VERSION

      public static final String VERSION
      The version string of omz-http-lib.

      This value is set by the CI build pipeline based on the event that triggered the build. Otherwise, this string is always "$BUILDVERSION".

      getVersion() should be used to retrieve the value to prevent compile-time string inlining.

      See Also:
  • Constructor Details

    • HTTPLib

      public HTTPLib()
  • Method Details

    • getVersion

      public static String getVersion()
      Returns the version string.
      Returns:
      The version string
      Since:
      1.2.2