Class RandomAdditionalServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.pulsar.tests.integration.plugins.RandomAdditionalServlet
- All Implemented Interfaces:
Serializable,AutoCloseable,javax.servlet.Servlet,javax.servlet.ServletConfig,AdditionalServlet
public class RandomAdditionalServlet
extends javax.servlet.http.HttpServlet
implements AdditionalServlet
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voiddoGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) org.eclipse.jetty.servlet.ServletHoldervoidloadConfig(org.apache.pulsar.common.configuration.PulsarConfiguration pulsarConfiguration) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
RandomAdditionalServlet
public RandomAdditionalServlet()
-
-
Method Details
-
loadConfig
public void loadConfig(org.apache.pulsar.common.configuration.PulsarConfiguration pulsarConfiguration) - Specified by:
loadConfigin interfaceAdditionalServlet
-
getBasePath
- Specified by:
getBasePathin interfaceAdditionalServlet
-
getServletHolder
public org.eclipse.jetty.servlet.ServletHolder getServletHolder()- Specified by:
getServletHolderin interfaceAdditionalServlet
-
close
public void close()- Specified by:
closein interfaceAdditionalServlet- Specified by:
closein interfaceAutoCloseable
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
IOException
-