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
Event
s.
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 Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
URL_SUFFIX
- See Also:
-
-
Constructor Details
-
JohnsonDataServlet
public JohnsonDataServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Servlet
- Overrides:
init
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
-