code: public Optional<KeyValue> getValue(final String key, RequestOptions requestOptions) {
  
  
          final URI uri = createURI("/" + key);
  
  
          final HttpRequestBuilder httpRequestBuilder = RequestUtils
                  .getHttpRequestBuilder(null, null, requestOptions, "");
  
  
          final HTTP.Response httpResponse = HTTP.getResponse(uri.toString() + "?" + httpRequestBuilder.paramString());
  
          if (httpResponse.code() == 404) {
              return Optional.empty();
          }
  
          if (httpResponse.code() != 200) {
              die("Unable to retrieve the key", key, uri, httpResponse.code(), httpResponse.body());
          }
  
          return getKeyValueOptional(httpResponse);
      }
docs: Retrieves a {@link io.advantageous.consul.domain.KeyValue} for a specific key
  from the key/value store.
  <p>
  GET /v1/keyValueStore/{key}
  
  @param key            The key to retrieve.
  @param requestOptions The query options.
  @return An {@link Optional} containing the value or {@link java.util.Optional#empty()}