Package org.jvnet.hudson.test
Class JavaNetReverseProxy
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jvnet.hudson.test.JavaNetReverseProxy
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
Deprecated.
Acts as a reverse proxy, so that during a test we can avoid hitting updates.jenkins.io.
The contents are cached locally.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JavaNetReverseProxy
Deprecated.Gets the default instance.protected void
service
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Deprecated.void
stop()
Deprecated.Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
localPort
public final int localPortDeprecated.
-
-
Constructor Details
-
JavaNetReverseProxy
Deprecated.- Throws:
Exception
-
-
Method Details
-
stop
Deprecated.- Throws:
Exception
-
service
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException Deprecated.- Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
getInstance
Deprecated.Gets the default instance.- Throws:
Exception
-
JavaNetReverseProxy2