Class AgentDistributionsController
- 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.agent.AgentDistributionsController
-
- 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 AgentDistributionsController extends BaseController
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentDistributionsController.DistrInfo
-
Field Summary
Fields Modifier and Type Field Description static String
CONTROLLER_PATH
static String
DEFAULT_PACKAGE
static String
PACKAGES
static String
PAGE_NAME
static String
URL_PREFIX
-
Fields inherited from class jetbrains.buildServer.controllers.BaseController
myServer
-
-
Constructor Summary
Constructors Constructor Description AgentDistributionsController(SBuildServer server, WebControllerManager webControllerManager, JdkPackageProvider jdkPackageProvider, AgentJdkBundleRegistry distributionRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.servlet.ModelAndView
doHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Performs actual request processing-
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
-
URL_PREFIX
public static final String URL_PREFIX
- See Also:
- Constant Field Values
-
PAGE_NAME
public static final String PAGE_NAME
- See Also:
- Constant Field Values
-
CONTROLLER_PATH
public static final String CONTROLLER_PATH
- See Also:
- Constant Field Values
-
PACKAGES
public static final String PACKAGES
- See Also:
- Constant Field Values
-
DEFAULT_PACKAGE
public static final String DEFAULT_PACKAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AgentDistributionsController
public AgentDistributionsController(@NotNull SBuildServer server, @NotNull WebControllerManager webControllerManager, @NotNull JdkPackageProvider jdkPackageProvider, @NotNull AgentJdkBundleRegistry distributionRegistry)
-
-
Method Detail
-
doHandle
@Nullable protected org.springframework.web.servlet.ModelAndView doHandle(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response) throws Exception
Description copied from class:BaseController
Performs actual request processing- Specified by:
doHandle
in classBaseController
- Parameters:
request
- HTTP requestresponse
- HTTP response- Returns:
- model and view components
- Throws:
Exception
- exception
-
-