diff options
author | Aaron Bedra and Stuart Halloway <pair@clojure.com> | 2010-07-23 09:56:37 -0400 |
---|---|---|
committer | Aaron Bedra and Stuart Halloway <pair@clojure.com> | 2010-07-23 09:56:37 -0400 |
commit | 0a3e6804f9822a85e255650e2be35c757d4c1e3d (patch) | |
tree | 8a5746740e2ed10bb7560d8b9ac8cc367a12539c | |
parent | aa3f018f65006c78b08703e7adef04b7f39e1542 (diff) |
deprecate http.agent http.connection
-rw-r--r-- | src/main/clojure/clojure/contrib/http/agent.clj | 5 | ||||
-rw-r--r-- | src/main/clojure/clojure/contrib/http/connection.clj | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/main/clojure/clojure/contrib/http/agent.clj b/src/main/clojure/clojure/contrib/http/agent.clj index 9582f803..a42431f6 100644 --- a/src/main/clojure/clojure/contrib/http/agent.clj +++ b/src/main/clojure/clojure/contrib/http/agent.clj @@ -11,8 +11,11 @@ ;; agreeing to be bound by the terms of this license. You must not ;; remove this notice, or any other, from this software. +;; DEPRECATED IN 1.2. Use direct Java bits, or take a look at +;; http://github.com/technomancy/clojure-http-client -(ns ^{:doc "Agent-based asynchronous HTTP client. +(ns ^{:deprecated "1.2" + :doc "Agent-based asynchronous HTTP client. This is a HTTP client library based on Java's HttpURLConnection class and Clojure's Agent system. It allows you to make multiple diff --git a/src/main/clojure/clojure/contrib/http/connection.clj b/src/main/clojure/clojure/contrib/http/connection.clj index 1186f109..c6cf162a 100644 --- a/src/main/clojure/clojure/contrib/http/connection.clj +++ b/src/main/clojure/clojure/contrib/http/connection.clj @@ -11,7 +11,11 @@ ;; agreeing to be bound by the terms of this license. You must not ;; remove this notice, or any other, from this software. -(ns ^{:doc "Low-level HTTP client API around HttpURLConnection"} +;; DEPRECATED IN 1.2. Use direct Java bits, or take a look at +;; http://github.com/technomancy/clojure-http-client + +(ns ^{:deprecated "1.2" + :doc "Low-level HTTP client API around HttpURLConnection"} clojure.contrib.http.connection (:require [clojure.contrib.io :as duck]) (:import (java.net URI URL HttpURLConnection) |