@Path(value="") @Produces(value="application/json") public class SwingAppRestService extends BaseRestService
| Constructor and Description |
|---|
SwingAppRestService() |
| Modifier and Type | Method and Description |
|---|---|
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.admin.SwingSession |
getMetrics(String uuid) |
protected List<String> |
getPathsImpl() |
org.webswing.server.common.model.admin.SwingSession |
getSession(String id) |
org.webswing.server.common.model.admin.Sessions |
getSessions() |
String |
getThreadDump(String id,
String timestamp) |
void |
requestThreadDump(String id) |
void |
shutdown(String id,
String forceKill) |
javax.ws.rs.core.Response |
start() |
org.webswing.server.common.model.admin.SwingSession |
startRecording(String id) |
javax.ws.rs.core.Response |
stop() |
generateCsrfToken, getAppInfo, getApps, getConfigMeta, getMeta, getPaths, getPermissions, getPermissionsImpl, getVariables, getVersion, isMasterPermited, isPermited, ping, saveConfig, saveConfigImplprotected 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 BaseRestService@GET
@Path(value="/start")
public javax.ws.rs.core.Response start()
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@GET
@Path(value="/stop")
public javax.ws.rs.core.Response stop()
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.WsException@GET
@Path(value="/rest/session/{id}")
public org.webswing.server.common.model.admin.SwingSession getSession(@PathParam(value="id")
String id)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@GET
@Path(value="/rest/metrics/{uuid}")
public org.webswing.server.common.model.admin.SwingSession getMetrics(@PathParam(value="uuid")
String uuid)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@GET
@Path(value="/rest/record/{id}")
public org.webswing.server.common.model.admin.SwingSession startRecording(@PathParam(value="id")
String id)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@GET
@Path(value="/rest/threadDump/{path}")
public String getThreadDump(@PathParam(value="path")
String id,
@QueryParam(value="id")
String timestamp)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@POST
@Path(value="/rest/threadDump/{path}")
public void requestThreadDump(@PathParam(value="path")
String id)
throws org.webswing.server.model.exception.WsException
org.webswing.server.model.exception.WsException@DELETE
@Path(value="/rest/session/{id}")
public void shutdown(@PathParam(value="id")
String id,
@QueryParam(value="force")
String forceKill)
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.