Package | Description |
---|---|
org.resthub.test |
Reusable base test classes
|
org.resthub.web |
RESThub Web root package
|
Modifier and Type | Field and Description |
---|---|
protected Client |
AbstractWebTest.client
RESThub http client used to send test requests
|
Modifier and Type | Method and Description |
---|---|
Client |
Client.addBodyReader(BodyReader br)
Add a candidate BodyReader to read an HTTP response body to an object
|
Client |
Client.addBodyWriter(BodyWriter bw)
Add a candidate BodyWriter to serialize an object to an HTTP response
body
|
Client |
Client.setAuth(String username,
String password,
com.ning.http.client.Realm.AuthScheme scheme)
Sets the authentication header for the current client.
|
Client |
Client.setOAuth2(String username,
String password,
String accessTokenEndpoint,
String clientId,
String clientSecret)
Sets the OAuth2 authentication header for the current client.
|
Client |
Client.setOAuth2Builder(OAuth2Config.Builder builder)
Set the given OAuth2Config builder for this client.
|
Client |
Client.setProxy(String host,
int port)
Set HTTP proxy configuration
|
Copyright © 2009–2014. All rights reserved.