aboutsummaryrefslogtreecommitdiff
path: root/http.agent-api.html
diff options
context:
space:
mode:
authorTom Faulhaber <git_net@infolace.com>2009-08-20 13:19:13 -0700
committerTom Faulhaber <git_net@infolace.com>2009-08-20 13:19:13 -0700
commitcd3a9db3aca7f8429f42c4373d4d59663d896bf5 (patch)
tree79a5cdd32f2a9bb378c725a642b49703188dfc9f /http.agent-api.html
parenta8faf30102891ba6fb4f3ee5f107097068e8c674 (diff)
Updated documentation for commit 0ab6bd4dfa56e4977944355e02a68c80d7c38fb8
Diffstat (limited to 'http.agent-api.html')
-rw-r--r--http.agent-api.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/http.agent-api.html b/http.agent-api.html
index 34e06ba7..33984d7a 100644
--- a/http.agent-api.html
+++ b/http.agent-api.html
@@ -165,7 +165,7 @@ And you could write the response directly to a file like this:
<pre id="var-docstr">The default HTTP agent result handler; it collects the response
body in a java.io.ByteArrayOutputStream, which can later be
retrieved with the 'stream', 'string', and 'bytes' functions.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L143" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L143" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -175,7 +175,7 @@ retrieved with the 'stream', 'string', and 'bytes' functions.</pre>
</pre>
<pre id="var-docstr">Returns a Java byte array of the content returned by the server;
nil if the content is not yet available.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L249" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L249" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -184,7 +184,7 @@ nil if the content is not yet available.</pre>
<pre id="var-usage">Usage: (client-error? http-agnt)
</pre>
<pre id="var-docstr">Returns true if the HTTP response code was in the 400-499 range.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L359" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L359" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -193,7 +193,7 @@ nil if the content is not yet available.</pre>
<pre id="var-usage">Usage: (done? http-agnt)
</pre>
<pre id="var-docstr">Returns true if the HTTP request/response has completed.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L298" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L298" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -203,7 +203,7 @@ nil if the content is not yet available.</pre>
</pre>
<pre id="var-docstr">Returns true if the HTTP response code was in the 400-499 range OR
the 500-599 range.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L369" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L369" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -214,7 +214,7 @@ the 500-599 range.</pre>
<pre id="var-docstr">Returns a map of HTTP response headers. Header names are converted
to keywords in all lower-case Header values are strings. If a
header appears more than once, only the last value is returned.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L319" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L319" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -225,7 +225,7 @@ header appears more than once, only the last value is returned.</pre>
<pre id="var-docstr">Returns the HTTP response headers in order as a sequence of
[String,String] pairs. The first 'header' name may be null for the
HTTP status line.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L329" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L329" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -281,7 +281,7 @@ exceptions thrown by this function will be added to the agent's
error queue (see agent-errors). The default function collects the
response stream in a memory buffer.
</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L164" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L164" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -291,7 +291,7 @@ response stream in a memory buffer.
</pre>
<pre id="var-docstr">Returns the HTTP response message (e.g. 'Not Found'), for this
request, or nil if the response has not yet been received.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L312" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L312" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -300,7 +300,7 @@ request, or nil if the response has not yet been received.</pre>
<pre id="var-usage">Usage: (method http-agnt)
</pre>
<pre id="var-docstr">Returns the HTTP method name used by this HTTP agent, as a String.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L282" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L282" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -313,7 +313,7 @@ request, or nil if the response has not yet been received.</pre>
Note: if the :follow-redirects option was true (the default),
redirects will be followed automatically and a the agent will never
return a 3xx response code.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L350" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L350" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -325,7 +325,7 @@ return a 3xx response code.</pre>
Note: if the request body was an InputStream or a Reader, it will no
longer be usable.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L287" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L287" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -334,7 +334,7 @@ longer be usable.</pre>
<pre id="var-usage">Usage: (request-headers http-agnt)
</pre>
<pre id="var-docstr">Returns the request headers specified for this HTTP agent.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L277" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L277" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -343,7 +343,7 @@ longer be usable.</pre>
<pre id="var-usage">Usage: (request-uri http-agnt)
</pre>
<pre id="var-docstr">Returns the URI/URL requested by this HTTP agent, as a String.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L272" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L272" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -354,7 +354,7 @@ longer be usable.</pre>
<pre id="var-docstr">Returns the value returned by the :handler function of the HTTP
agent; blocks until the HTTP request is completed. The default
handler function returns a ByteArrayOutputStream.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L227" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L227" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -363,7 +363,7 @@ handler function returns a ByteArrayOutputStream.</pre>
<pre id="var-usage">Usage: (server-error? http-agnt)
</pre>
<pre id="var-docstr">Returns true if the HTTP response code was in the 500-599 range.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L364" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L364" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -374,7 +374,7 @@ handler function returns a ByteArrayOutputStream.</pre>
<pre id="var-docstr">Returns the HTTP response status code (e.g. 200, 404) for this
request, as an Integer, or nil if the status has not yet been
received.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L304" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L304" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -388,7 +388,7 @@ HttpURLConnection stream.
If the default handler function was used, this function returns a
ByteArrayInputStream on the buffered response body.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L235" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L235" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -403,7 +403,7 @@ encoding.
If no encoding is given, uses the encoding specified in the server
headers, or clojure.contrib.duck-streams/*default-encoding* if it is
not specified.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L255" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L255" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -412,7 +412,7 @@ not specified.</pre>
<pre id="var-usage">Usage: (success? http-agnt)
</pre>
<pre id="var-docstr">Returns true if the HTTP response code was in the 200-299 range.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/9f3bc3b359a977e978a6ad0c8cd0481b5765f511/src/clojure/contrib/http/agent.clj#L345" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/0ab6bd4dfa56e4977944355e02a68c80d7c38fb8/src/clojure/contrib/http/agent.clj#L345" id="var-source">Source</a>
</div>