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 TestBrowser
public org.apache.http.cookie.Cookie getCookieWithName(String name)
TestBrowser
getCookieWithName
in interface TestBrowser
name
- Name of the cookiepublic void clearCookies()
TestBrowser
clearCookies
in interface TestBrowser
public Response makeRequest(Request httpRequest)
TestBrowser
makeRequest
in interface TestBrowser
httpRequest
- The request to performCopyright © 2015. All Rights Reserved.