public abstract class BaseReportManager extends Object implements Securable
| Modifier and Type | Field and Description |
|---|---|
protected RestHttpHelper |
restHelper |
| Constructor and Description |
|---|
BaseReportManager(String host,
String port) |
BaseReportManager(String host,
String port,
String context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkResponse(RestHttpHelper.HttpResponse response,
int expectedCode) |
String |
getBaseURL() |
protected RestHttpHelper |
getRestHelper() |
void |
login(Credential credential)
This method supplies user credentials to the application.
|
void |
logout()
This method clears any previously logged-in credentials.
|
protected void |
setRestHelper(RestHttpHelper restHelper) |
protected RestHttpHelper restHelper
public String getBaseURL()
public void login(Credential credential)
Securablepublic void logout()
Securableprotected RestHttpHelper getRestHelper()
protected void setRestHelper(RestHttpHelper restHelper)
protected void checkResponse(RestHttpHelper.HttpResponse response, int expectedCode) throws NotFoundException, ReportException
NotFoundExceptionReportExceptionCopyright © 2009-2013 DuraSpace. All Rights Reserved.