Class StartupServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- jetbrains.buildServer.maintenance.StartupServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class StartupServlet extends javax.servlet.http.HttpServletServlet that responsible for maintenance screens during TeamCity server startup.- Since:
- 7.1
- Author:
- Leonid Bushuev from JetBrains
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classStartupServlet.AjaxBeanA separate bean instance is created per HTTP request.
-
Field Summary
Fields Modifier and Type Field Description static StringMAINTENANCE_TOKEN_COOKIEstatic StringUSER_SESSION_ORIGINAL_INACTIVITY_INTERVAL_ATTR_NAME
-
Constructor Summary
Constructors Constructor Description StartupServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected voiddoGetOrPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voidinit(javax.servlet.ServletConfig config)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
MAINTENANCE_TOKEN_COOKIE
public static final String MAINTENANCE_TOKEN_COOKIE
- See Also:
- Constant Field Values
-
USER_SESSION_ORIGINAL_INACTIVITY_INTERVAL_ATTR_NAME
public static final String USER_SESSION_ORIGINAL_INACTIVITY_INTERVAL_ATTR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.servlet.GenericServlet
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doGetOrPost
protected void doGetOrPost(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Throws:
javax.servlet.ServletExceptionIOException
-
-