public class JavaNetReverseProxy
extends javax.servlet.http.HttpServlet
The contents are cached locally.
| Modifier and Type | Field and Description |
|---|---|
int |
localPort |
| Constructor and Description |
|---|
JavaNetReverseProxy(File cacheFolder) |
| Modifier and Type | Method and Description |
|---|---|
static JavaNetReverseProxy |
getInstance()
Gets the default instance.
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
stop() |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic static JavaNetReverseProxy getInstance() throws Exception
ExceptionCopyright © 2004–2019. All rights reserved.