org.portletbridge.web
Class ProxyHttpServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.portletbridge.web.ProxyHttpServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ProxyHttpServlet
extends javax.servlet.http.HttpServlet

Author:
JMcCrindle
See Also:
Serialized Form

Constructor Summary
ProxyHttpServlet()
           
 
Method Summary
protected  org.apache.commons.httpclient.HttpState createState()
           
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void doHead(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)
           
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.String getConfigConnectionMaxPerHost()
           
 java.lang.String getConfigConnectionMaxTotal()
           
 java.lang.String getConfigConnectionTimeout()
           
 java.lang.String getConfigProxyAuthentication()
           
 java.lang.String getConfigProxyAuthenticationDomain()
           
 java.lang.String getConfigProxyAuthenticationHost()
           
 java.lang.String getConfigProxyAuthenticationPassword()
           
 java.lang.String getConfigProxyAuthenticationUsername()
           
 java.lang.String getConfigProxyEnabled()
           
 java.lang.String getConfigProxyHost()
           
 java.lang.String getConfigProxyPort()
           
 java.lang.String getHttpStateSessionKey()
           
 void init()
           
protected  void initProperties()
          noop
protected  void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.commons.httpclient.HttpMethodBase method)
           
 void setConfigConnectionMaxPerHost(java.lang.String configConnectionMaxPerHost)
           
 void setConfigConnectionMaxTotal(java.lang.String configConnectionMaxTotal)
           
 void setConfigConnectionTimeout(java.lang.String configConnectionTimeout)
           
 void setConfigProxyAuthentication(java.lang.String configProxyAuthentication)
           
 void setConfigProxyAuthenticationDomain(java.lang.String configProxyAuthenticationDomain)
           
 void setConfigProxyAuthenticationHost(java.lang.String configProxyAuthenticationHost)
           
 void setConfigProxyAuthenticationPassword(java.lang.String configProxyAuthenticationPassword)
           
 void setConfigProxyAuthenticationUsername(java.lang.String configProxyAuthenticationUsername)
           
 void setConfigProxyEnabled(java.lang.String configProxyEnabled)
           
 void setConfigProxyHost(java.lang.String configProxyHost)
           
 void setConfigProxyPort(java.lang.String configProxyPort)
           
 void setHttpStateSessionKey(java.lang.String httpStateSessionKey)
           
 
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, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyHttpServlet

public ProxyHttpServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

initProperties

protected void initProperties()
                       throws java.lang.IllegalAccessException,
                              java.lang.reflect.InvocationTargetException
noop

Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doHead

protected void doHead(javax.servlet.http.HttpServletRequest arg0,
                      javax.servlet.http.HttpServletResponse arg1)
               throws javax.servlet.ServletException,
                      java.io.IOException
Overrides:
doHead in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

process

protected void process(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response,
                       org.apache.commons.httpclient.HttpMethodBase method)
                throws javax.servlet.ServletException,
                       java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

createState

protected org.apache.commons.httpclient.HttpState createState()
                                                       throws javax.servlet.ServletException
Returns:
Throws:
javax.servlet.ServletException

setConfigConnectionMaxPerHost

public void setConfigConnectionMaxPerHost(java.lang.String configConnectionMaxPerHost)

setConfigConnectionMaxTotal

public void setConfigConnectionMaxTotal(java.lang.String configConnectionMaxTotal)

setConfigConnectionTimeout

public void setConfigConnectionTimeout(java.lang.String configConnectionTimeout)

setConfigProxyAuthentication

public void setConfigProxyAuthentication(java.lang.String configProxyAuthentication)

setConfigProxyAuthenticationHost

public void setConfigProxyAuthenticationHost(java.lang.String configProxyAuthenticationHost)

setConfigProxyAuthenticationPassword

public void setConfigProxyAuthenticationPassword(java.lang.String configProxyAuthenticationPassword)

setConfigProxyAuthenticationUsername

public void setConfigProxyAuthenticationUsername(java.lang.String configProxyAuthenticationUsername)

setConfigProxyEnabled

public void setConfigProxyEnabled(java.lang.String configProxyEnabled)

setConfigProxyHost

public void setConfigProxyHost(java.lang.String configProxyHost)

setConfigProxyPort

public void setConfigProxyPort(java.lang.String configProxyPort)

setHttpStateSessionKey

public void setHttpStateSessionKey(java.lang.String httpStateSessionKey)

getConfigProxyAuthenticationDomain

public java.lang.String getConfigProxyAuthenticationDomain()

setConfigProxyAuthenticationDomain

public void setConfigProxyAuthenticationDomain(java.lang.String configProxyAuthenticationDomain)

getConfigConnectionMaxPerHost

public java.lang.String getConfigConnectionMaxPerHost()

getConfigConnectionMaxTotal

public java.lang.String getConfigConnectionMaxTotal()

getConfigConnectionTimeout

public java.lang.String getConfigConnectionTimeout()

getConfigProxyAuthentication

public java.lang.String getConfigProxyAuthentication()

getConfigProxyAuthenticationHost

public java.lang.String getConfigProxyAuthenticationHost()

getConfigProxyAuthenticationPassword

public java.lang.String getConfigProxyAuthenticationPassword()

getConfigProxyAuthenticationUsername

public java.lang.String getConfigProxyAuthenticationUsername()

getConfigProxyEnabled

public java.lang.String getConfigProxyEnabled()

getConfigProxyHost

public java.lang.String getConfigProxyHost()

getConfigProxyPort

public java.lang.String getConfigProxyPort()

getHttpStateSessionKey

public java.lang.String getHttpStateSessionKey()


Copyright © 2002-2006 Grape Design Limited. All Rights Reserved.