Class AgentDistributionSettingsController
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- jetbrains.buildServer.controllers.BaseController
-
- jetbrains.buildServer.controllers.BaseFormXmlController
-
- jetbrains.buildServer.controllers.admin.AgentDistributionSettingsController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
public class AgentDistributionSettingsController extends BaseFormXmlController
Controller for agent distribution settings: contains list of JDKs that should be included in full agent distribution.
-
-
Field Summary
Fields Modifier and Type Field Description static String
HTML_URL
static String
JSP_URL
static String
PAGE_NAME
-
Fields inherited from class jetbrains.buildServer.controllers.BaseController
myServer
-
-
Constructor Summary
Constructors Constructor Description AgentDistributionSettingsController(JdkPackageManager jdkPackageManager, AuthorizationInterceptor authInterceptor, PagePlaces pagePlaces, WebControllerManager webControllerManager, SecurityContextEx securityContext, AuditLogFactory auditLogFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.servlet.ModelAndView
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Implement this method to process GET requests.protected void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.jdom.Element xmlResponse)
Implement this method to process POST requests.-
Methods inherited from class jetbrains.buildServer.controllers.BaseFormXmlController
addMessage, bindFromRequest, doHandle, forgetFormBean, forgetFormBean, getOrCreateFormBean, getOrCreateFormBean, isInitPageRequest, selfRedirectOnInit, writeErrors, writeRedirect
-
Methods inherited from class jetbrains.buildServer.controllers.BaseController
getOrCreateMessages, handleRequest, handleRequestInternal, isGet, isPost, redirectTo, setExceptionResolvers, simpleView
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
-
-
-
Field Detail
-
JSP_URL
public static final String JSP_URL
- See Also:
- Constant Field Values
-
HTML_URL
public static final String HTML_URL
- See Also:
- Constant Field Values
-
PAGE_NAME
public static final String PAGE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AgentDistributionSettingsController
public AgentDistributionSettingsController(@NotNull JdkPackageManager jdkPackageManager, @NotNull AuthorizationInterceptor authInterceptor, @NotNull PagePlaces pagePlaces, @NotNull WebControllerManager webControllerManager, @NotNull SecurityContextEx securityContext, @NotNull AuditLogFactory auditLogFactory)
-
-
Method Detail
-
doGet
protected org.springframework.web.servlet.ModelAndView doGet(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)
Description copied from class:BaseFormXmlController
Implement this method to process GET requests. Usually on GET request a form bean is created and a page is shown.- Specified by:
doGet
in classBaseFormXmlController
- Parameters:
request
- HTTP requestresponse
- HTTP response- Returns:
- model and view components
-
doPost
protected void doPost(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response, @NotNull org.jdom.Element xmlResponse)
Description copied from class:BaseFormXmlController
Implement this method to process POST requests. Usually POST requests are changing state of the form bean and underlying model. To output errors (if request validation failed)ActionErrors
can be used. To add messages (if request processing was successful) useBaseFormXmlController.addMessage(javax.servlet.http.HttpServletRequest, String, String, String...)
method.- Specified by:
doPost
in classBaseFormXmlController
- Parameters:
request
- HTTP requestresponse
- HTTP responsexmlResponse
- XML response for AJAX requests
-
-