public class TestBrowserImpl extends Object implements TestBrowser
| Constructor and Description |
|---|
TestBrowserImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCookies()
The TestBrowser persists the cookie storage during multiple calls.
|
List<org.apache.http.cookie.Cookie> |
getCookies() |
org.apache.http.cookie.Cookie |
getCookieWithName(String name)
Get cookie with a specific name.
|
Response |
makeRequest(Request httpRequest)
Make calls via this testBrowser.
|
public List<org.apache.http.cookie.Cookie> getCookies()
getCookies in interface TestBrowserpublic org.apache.http.cookie.Cookie getCookieWithName(String name)
TestBrowsergetCookieWithName in interface TestBrowsername - Name of the cookiepublic void clearCookies()
TestBrowserclearCookies in interface TestBrowserpublic Response makeRequest(Request httpRequest)
TestBrowsermakeRequest in interface TestBrowserhttpRequest - The request to performCopyright © 2015. All Rights Reserved.