code: public void filter(ClientRequestContext request) throws IOException
      {
          if(!request.getHeaders().containsKey("X-Api-Key"))
              request.getHeaders().add("X-Api-Key", this.apikey);
      }
docs: Adds the API key to the client request.
  @param request The client request