public class TunnelProxyServer
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
TunnelProxyServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Requests information from the web server.
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Sends information back to the web server.
|
void |
init(javax.servlet.ServletConfig config)
Servlet initialization.
|
doDelete, doOptions, doPut, doTrace, getLastModified, service, servicepublic void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doPost in class javax.servlet.http.HttpServletreq - HttpServletRequest that encapsulates the request to the servlet.resp - HttpServletResponse that encapsulates the response from the servlet.javax.servlet.ServletException - If a problem with the servlet occurs.java.io.IOException - If a file I/O error occurs.public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletreq - HttpServletRequest that encapsulates the request to the servlet.resp - HttpServletResponse that encapsulates the response from the servlet.javax.servlet.ServletException - If a problem with the servlet occurs.java.io.IOException - If a file I/O error occurs.public void init(javax.servlet.ServletConfig config)
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - The servlet configuration.