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

      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
    • 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.