@Path(value="") @Produces(value="application/json") public class GlobalRestService extends BaseRestService
| Constructor and Description |
|---|
GlobalRestService() |
| Modifier and Type | Method and Description |
|---|---|
void |
createSwingApp(String path) |
javax.ws.rs.core.Response |
downloadLog(String type) |
protected org.webswing.server.common.model.admin.ApplicationInfo |
getAppInfoImpl() |
protected List<org.webswing.model.s2c.ApplicationInfoMsg> |
getAppsImpl() |
protected ConfigurationService |
getConfigService() |
protected PrimaryUrlHandler |
getHandler() |
org.webswing.server.common.model.rest.LogResponse |
getLogs(String type,
org.webswing.server.common.model.rest.LogRequest request) |
protected List<String> |
getPathsImpl() |
protected Map<String,Boolean> |
getPermissionsImpl() |
org.webswing.server.common.model.admin.Sessions |
getSessions() |
void |
removeSwingApp(String path) |
protected void |
saveConfigImpl(Map<String,Object> config) |
generateCsrfToken, getAppInfo, getApps, getConfigMeta, getMeta, getPaths, getPermissions, getVariables, getVersion, isMasterPermited, isPermited, ping, saveConfigprotected List<org.webswing.model.s2c.ApplicationInfoMsg> getAppsImpl()
getAppsImpl in class BaseRestServiceprotected org.webswing.server.common.model.admin.ApplicationInfo getAppInfoImpl()
getAppInfoImpl in class BaseRestServiceprotected List<String> getPathsImpl()
getPathsImpl in class BaseRestServiceprotected Map<String,Boolean> getPermissionsImpl() throws Exception
getPermissionsImpl in class BaseRestServiceExceptionprotected void saveConfigImpl(Map<String,Object> config) throws Exception
saveConfigImpl in class BaseRestServiceException@GET
@Path(value="/rest/remove{appPath: .+?}")
public void removeSwingApp(@PathParam(value="appPath")
String path)
throws Exception
Exception@GET
@Path(value="/rest/create{appPath: .+?}")
public void createSwingApp(@PathParam(value="appPath")
String path)
throws Exception
Exception@POST
@Path(value="/rest/logs/{type}")
public org.webswing.server.common.model.rest.LogResponse getLogs(@PathParam(value="type")
String type,
org.webswing.server.common.model.rest.LogRequest request)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@GET
@Path(value="/rest/logs/{type}")
public javax.ws.rs.core.Response downloadLog(@PathParam(value="type")
String type)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@GET
@Path(value="/rest/sessions")
public org.webswing.server.common.model.admin.Sessions getSessions()
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsExceptionprotected PrimaryUrlHandler getHandler()
getHandler in class BaseRestServiceprotected ConfigurationService getConfigService()
getConfigService in class BaseRestServiceCopyright © 2018. All rights reserved.