public class WebServices extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationBaseProtocol |
appBaseProt |
| Constructor and Description |
|---|
WebServices(ApplicationBaseProtocol appBaseProt) |
| Modifier and Type | Method and Description |
|---|---|
AppInfo |
getApp(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId) |
AppAttemptInfo |
getAppAttempt(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId) |
AppAttemptsInfo |
getAppAttempts(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId) |
AppsInfo |
getApps(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String stateQuery,
Set<String> statesQuery,
String finalStatusQuery,
String userQuery,
String queueQuery,
String count,
String startedBegin,
String startedEnd,
String finishBegin,
String finishEnd,
Set<String> applicationTypes) |
ContainerInfo |
getContainer(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId,
String containerId) |
ContainersInfo |
getContainers(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String appId,
String appAttemptId) |
protected static UserGroupInformation |
getUser(javax.servlet.http.HttpServletRequest req) |
protected void |
init(javax.servlet.http.HttpServletResponse response) |
protected static ApplicationAttemptId |
parseApplicationAttemptId(String appAttemptId) |
protected static ApplicationId |
parseApplicationId(String appId) |
protected static ContainerId |
parseContainerId(String containerId) |
protected static Set<String> |
parseQueries(Set<String> queries,
boolean isState) |
protected void |
validateIds(ApplicationId appId,
ApplicationAttemptId appAttemptId,
ContainerId containerId) |
protected ApplicationBaseProtocol appBaseProt
public WebServices(ApplicationBaseProtocol appBaseProt)
public AppsInfo getApps(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String stateQuery, Set<String> statesQuery, String finalStatusQuery, String userQuery, String queueQuery, String count, String startedBegin, String startedEnd, String finishBegin, String finishEnd, Set<String> applicationTypes)
public AppInfo getApp(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String appId)
public AppAttemptsInfo getAppAttempts(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String appId)
public AppAttemptInfo getAppAttempt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String appId, String appAttemptId)
public ContainersInfo getContainers(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String appId, String appAttemptId)
public ContainerInfo getContainer(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, String appId, String appAttemptId, String containerId)
protected void init(javax.servlet.http.HttpServletResponse response)
protected static ApplicationId parseApplicationId(String appId)
protected static ApplicationAttemptId parseApplicationAttemptId(String appAttemptId)
protected static ContainerId parseContainerId(String containerId)
protected void validateIds(ApplicationId appId, ApplicationAttemptId appAttemptId, ContainerId containerId)
protected static UserGroupInformation getUser(javax.servlet.http.HttpServletRequest req)
Copyright © 2018 CERN. All Rights Reserved.