com.ibm.as400.access
Class TunnelProxyServer
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.as400.access.TunnelProxyServer
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class TunnelProxyServer
- extends javax.servlet.http.HttpServlet
TunnelProxyServer is an HttpServlet implementation that enables proxy tunneling.
- See Also:
- Serialized Form
Method Summary |
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. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TunnelProxyServer
public TunnelProxyServer()
doPost
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Sends information back to the web server.
- Parameters:
req
- HttpServletRequest that encapsulates the request to the servlet.resp
- HttpServletResponse that encapsulates the response from the servlet.
- Throws:
javax.servlet.ServletException
- If a problem with the servlet occurs.
IOException
- If a file I/O error occurs.
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Requests information from the web server.
- Parameters:
req
- HttpServletRequest that encapsulates the request to the servlet.resp
- HttpServletResponse that encapsulates the response from the servlet.
- Throws:
javax.servlet.ServletException
- If a problem with the servlet occurs.
IOException
- If a file I/O error occurs.
init
public void init(javax.servlet.ServletConfig config)
- Servlet initialization.
- Parameters:
config
- The servlet configuration.