public class Application extends Object
Constructor and Description |
---|
Application(String host,
String port,
String context) |
Application(String host,
String port,
String context,
RestHttpHelper restHelper) |
Modifier and Type | Method and Description |
---|---|
protected String |
getBaseUrl() |
String |
getContext() |
String |
getHost() |
String |
getPort() |
protected RestHttpHelper |
getRestHelper() |
RestHttpHelper.HttpResponse |
initialize(AppConfig config)
This method initializes this application with the provided configuration.
|
RestHttpHelper.HttpResponse |
setSecurityUsers(Collection<SecurityUserBean> users)
This method sets the security users of this application to the provided
users.
|
public Application(String host, String port, String context, RestHttpHelper restHelper)
public RestHttpHelper.HttpResponse initialize(AppConfig config)
config
- public RestHttpHelper.HttpResponse setSecurityUsers(Collection<SecurityUserBean> users)
users
- protected String getBaseUrl()
protected RestHttpHelper getRestHelper()
public String getHost()
public String getPort()
public String getContext()
Copyright © 2009–2014 DuraSpace. All rights reserved.