Package com.atlassian.confluence.servlet
Class JohnsonDataServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.atlassian.confluence.servlet.JohnsonDataServlet
- All Implemented Interfaces:
- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
public class JohnsonDataServlet
extends jakarta.servlet.http.HttpServlet
Responds with a JSON-ified version of the current Johnson 
Events.
 This helps to prevent the need for a hard refresh of the page to keep it up to date.
 Please update API version in info/version property of confluence-frontend/johnson-page/endpoints-api.json whenever API is changed.- Since:
- 6.5.0
- See Also:
- 
Field SummaryFieldsFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class jakarta.servlet.http.HttpServletdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Field Details- 
URL_SUFFIX- See Also:
 
 
- 
- 
Constructor Details- 
JohnsonDataServletpublic JohnsonDataServlet()
 
- 
- 
Method Details- 
initpublic void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
- initin interface- jakarta.servlet.Servlet
- Overrides:
- initin class- jakarta.servlet.http.HttpServlet
- Throws:
- jakarta.servlet.ServletException
 
- 
doGetprotected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Overrides:
- doGetin class- jakarta.servlet.http.HttpServlet
- Throws:
- IOException
 
 
-