|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.keymanager.front.webapp.AbstractService org.cumulus4j.keymanager.front.webapp.AppServerService
public class AppServerService
REST service to manage AppServer
s.
Field Summary |
---|
Fields inherited from class org.cumulus4j.keymanager.front.webapp.AbstractService |
---|
keyStoreManager, request |
Constructor Summary | |
---|---|
AppServerService()
Create an instance. |
Method Summary | |
---|---|
void |
deleteAppServer(String keyStoreID,
String appServerID)
Delete the AppServer. |
AppServer |
getAppServer(String keyStoreID,
String appServerID)
Get an AppServer . |
AppServerList |
getAppServers(String keyStoreID)
Get a list of all AppServer s managed by this key-server for the specified key-store. |
PutAppServerResponse |
postAppServer(String keyStoreID,
AppServer appServer)
Compatibility for clients not supporting PUT . |
PutAppServerResponse |
putAppServer(String keyStoreID,
AppServer appServer)
Put an AppServer . |
Methods inherited from class org.cumulus4j.keymanager.front.webapp.AbstractService |
---|
authenticate, getAuth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppServerService()
Method Detail |
---|
public AppServer getAppServer(String keyStoreID, String appServerID)
AppServer
.
keyStoreID
- identifier of the key-store to work with.appServerID
- identifier of app-server to retrieve.
AppServer
or null
, if no matching AppServer
exists.public AppServerList getAppServers(String keyStoreID)
AppServer
s managed by this key-server for the specified key-store.
keyStoreID
- identifier of the key-store to work with.
AppServer
s for the specified key-store. Never null
, but
it may be an empty list.public PutAppServerResponse postAppServer(String keyStoreID, AppServer appServer)
PUT
. This method does the same as (it delegates to)
putAppServer(String, org.cumulus4j.keymanager.front.shared.AppServer)
. Ajax-Clients (e.g. jQuery in Firefox) seem
not to support PUT
.
public PutAppServerResponse putAppServer(String keyStoreID, AppServer appServer)
AppServer
.
keyStoreID
- identifier of the key-store to work with.appServer
- the AppServer
to be put. Note, that its appServerID
is ignored! It will be assigned by this method.
appServerID
is assigned during this method call).public void deleteAppServer(String keyStoreID, String appServerID)
keyStoreID
- identifier of the key-store to work with.appServerID
- identifier of app-server to delete.
|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |