com.ibm.as400.access
Class TunnelProxyServer

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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

Constructor Summary
TunnelProxyServer()
           
 
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, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TunnelProxyServer

public TunnelProxyServer()
Method Detail

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.

Overrides:
doPost in class javax.servlet.http.HttpServlet
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.

Overrides:
doGet in class javax.servlet.http.HttpServlet
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.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - The servlet configuration.