private Map<String, String> executeAndGetHeaders(HttpMethod method) throws IOException {
    try {
      client.executeMethod(method);
      return Arrays.stream(method.getResponseHeaders())
        .collect(Collectors.toMap(Header::getName, Header::getValue));
    } catch (IOException e) {
      // probably either configuration error or IDEA is not running
      throw new IOException("Failed to communicate with JumpToCode", e);
    } 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