Package | Description |
---|---|
org.resthub.test |
Reusable base test classes
|
org.resthub.web |
RESThub Web root package
|
Modifier and Type | Method and Description |
---|---|
Client.RequestHolder |
AbstractWebTest.request(String urlSuffix)
Send a request to the embedded test webserver
|
Modifier and Type | Method and Description |
---|---|
Client.RequestHolder |
Client.RequestHolder.addCookie(com.ning.http.client.cookie.Cookie cookie)
Adds a cookie
|
Client.RequestHolder |
Client.RequestHolder.setBodyEncoding(String charset) |
Client.RequestHolder |
Client.RequestHolder.setHeader(String name,
String value)
Sets a header with the given name, this can be called repeatedly
|
Client.RequestHolder |
Client.RequestHolder.setQueryParameter(String name,
String value)
Sets a query parameter with the given name,this can be called
repeatedly
|
Client.RequestHolder |
Client.url(String url)
Prepare a new request.
|
Copyright © 2009–2014. All rights reserved.