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)
Securable
public void logout()
Securable
protected RestHttpHelper getRestHelper()
protected void setRestHelper(RestHttpHelper restHelper)
protected void checkResponse(RestHttpHelper.HttpResponse response, int expectedCode) throws NotFoundException, ReportException
NotFoundException
ReportException
Copyright © 2009–2014 DuraSpace. All rights reserved.