com.ibm.as400.access

Class TunnelProxyServer

  • java.lang.Object
    • javax.servlet.GenericServlet
      • javax.servlet.http.HttpServlet
        • com.ibm.as400.access.TunnelProxyServer
  • All Implemented Interfaces:
    java.io.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

      Methods 
      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.
      • 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
    • 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,
                           java.io.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.
        java.io.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,
                          java.io.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.
        java.io.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.