Skip to content

Commit 77a526c

Browse files
committed
Merge branch 'fix/codehaus' into merged-pull-requests
2 parents befc04f + 4001fea commit 77a526c

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Documentation: https://github.com/jgritman/httpbuilder/wiki
1010
Contributions:
1111

1212
This project relies on the work of many open source projects including:
13-
* Groovy: http://groovy.codehaus.org
13+
* Groovy: http://groovy-lang.org
1414
* Apache HttpClient: http://hc.apache.org
1515
* Json-Lib: http://json-lib.sourceforge.net/
1616
* Neko HTML: http://nekohtml.sourceforge.net/

src/site/apt/doc/get.apt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Simplified GET Request
1717
HTML response based on the response's content-type header. The HTML stream is
1818
normalized (thanks to {{{http://nekohtml.sourceforge.net/}Neko,}}) and then
1919
parsed by an
20-
{{{http://groovy.codehaus.org/Reading+XML+using+Groovy%27s+XmlSlurper}XmlSlurper}}
20+
{{{http://groovy-lang.org/processing-xml.html}XmlSlurper}}
2121
for easy DOM traversal.
2222

2323
We are also taking advantage of HTTPBuilder's

src/site/apt/doc/index.apt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The Magic: Built-in Content-Type Parsing
9292

9393
Probably the quickest way to debug is to turn on logging for HTTPBuilder and
9494
Apache HttpClient. An example
95-
{{{https://svn.codehaus.org/gmod/httpbuilder/trunk/src/test/resources/log4j.xml}
95+
{{{https://github.com/jgritman/httpbuilder/blob/master/src/test/resources/log4j.xml}
9696
log4j configuration}} can be used to output headers and request/response
9797
content, as well as additional information on what HTTPBuilder is doing with
9898
the request and response.

src/site/apt/doc/xml.apt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Parsing XML data
88

99
By default, HTTPBuilder classes will automatically parse XML responses using
10-
an <<<{{{http://groovy.codehaus.org/gapi/groovy/util/XmlSlurper.html}XmlSlurper}}>>>.
10+
an <<<{{{http://groovy-lang.org/processing-xml.html}XmlSlurper}}>>>.
1111

1212
You can try the following example in the Groovy console (Groovy 1.6+ is needed
1313
for the <<<@Grab>>> macro):
@@ -44,7 +44,7 @@ Parsing XML data
4444
POSTing XML data
4545

4646
XML data is serialized using
47-
<<<{{{http://groovy.codehaus.org/gapi/index.html?groovy/xml/StreamingMarkupBuilder.html}StreamingMarkupBuilder}}>>>.
47+
<<<{{{http://docs.groovy-lang.org/latest/html/gapi/groovy/xml/StreamingMarkupBuilder.html}StreamingMarkupBuilder}}>>>.
4848
You can define the <<<body>>> property as a closure like so:
4949

5050
%{code-snippet|id=xml2|brush=groovy|file=src/site/examples.txt}

src/site/site.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<bannerRight>
1313
<name>Groovy</name>
1414
<src>http://media.xircles.codehaus.org/_projects/groovy/_logos/medium.png</src>
15-
<href>http://groovy.codehaus.org/</href>
15+
<href>http://groovy-lang.org/</href>
1616
</bannerRight>
1717
<version position="left" />
1818
<publishDate position="right"/>
@@ -46,7 +46,7 @@
4646
<item name="About" href="about.html" />
4747
</menu>
4848
<menu name="Additional Reference">
49-
<item name="Groovy" href="http://groovy.codehaus.org/Documentation" />
49+
<item name="Groovy" href="http://groovy-lang.org/Documentation" />
5050
<item name="HTTP/1.1 RFC" href="http://www.w3.org/Protocols/rfc2616/rfc2616.html" />
5151
<item name="HttpClient" href="http://hc.apache.org/httpcomponents-client/" />
5252
<item name="HttpCore" href="http://hc.apache.org/httpcomponents-core/" />
@@ -84,4 +84,4 @@
8484
<logo name="Ohloh" href='http://www.ohloh.net/p/http-builder'
8585
img='http://www.ohloh.net/p/http-builder/widgets/project_thin_badge.gif' />
8686
</poweredBy>
87-
</project>
87+
</project>

src/site/xdoc/about.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
both commercial and non-commercial products.</p>
2020

2121
<p>HTTPBuilder is built on top of a number of excellent open source
22-
products, including <a href='http://groovy.codehaus.org/'>Groovy</a>,
22+
products, including <a href='http://groovy-lang.org/'>Groovy</a>,
2323
<a href='http://hc.apache.org/httpcomponents-client/'>Apache HttpClient</a>,
2424
and <a href='http://json-lib.sourceforge.net/'>Json-Lib</a>.</p>
2525

@@ -49,4 +49,4 @@
4949
</ul>
5050
</section>
5151
</body>
52-
</document>
52+
</document>

src/test/groovy/groovyx/net/http/URIBuilderTest.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ public class URIBuilderTest {
9898
def uri = new URIBuilder( 'http://johannburkard.de/%22bla%22' )
9999
uri.query = [ what_is_this: 'i_dont_even' ]
100100

101-
uri = new URIBuilder( 'http://codehaus.org/')
101+
uri = new URIBuilder( 'http://groovy-lang.org/')
102102
uri.path = '"bla"'
103103

104104
uri.fragment = 'what evs'
105-
assert uri.toString() == 'http://codehaus.org/%22bla%22#what%20evs'
105+
assert uri.toString() == 'http://groovy-lang.org/%22bla%22#what%20evs'
106106
uri.query = [ a: 'b#' ]
107-
assert uri.toString() == 'http://codehaus.org/%22bla%22?a=b%23#what%20evs'
107+
assert uri.toString() == 'http://groovy-lang.org/%22bla%22?a=b%23#what%20evs'
108108
uri.port = 80
109109
uri.host = 'google.com'
110110
uri.scheme = 'https'

0 commit comments

Comments
 (0)