@Override
    public Ide call() {
      HttpMethod method = buildMethod(url, new LocationInfo(Optional.empty(), Optional.empty(), Optional.empty()), HttpOperation.TEST);
      Ide ide = Ide.DISCONNECTED;
      try {
        // we don't even read the response body
        // the statusCode is enough information
        client.executeMethod(method);
        Header responseHeader = method.getResponseHeader("ide");
        if (responseHeader != null) {
          String value = responseHeader.getValue();
          if (StringUtils.equalsIgnoreCase(value, "eclipse")) {
            ide = Ide.Eclipse;
          } else {
            ide = Ide.IDEA;
          }
        }
        return ide;
      } catch (IOException e) {
        // IDE is not available;
        LOGGER.trace("IDE is not available: " + e.getMessage());
        return Ide.DISCONNECTED;
      } finally {
        method.releaseConnection();
      }
    }
jump to location represented by given URL

@param url a JumpToCode url that represents a source location
olv-core/src/main/java/pl/otros/logview/gui/services/jumptocode/JumpToCodeClient.java