Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The derived AsynchronousProxyServlet.Trasparent subclass exists to perform standard transparent proxy operation. Currently this class needs to be programmaticly instantiated. Future releases will allow this to be configured with init parameters. From 6.1.19 release, the transparent proxy will configurable with init parameters as follows:

Code Block
xml
xml

  <servlet>
    <servlet-name>GoogleProxy</servlet-name>
    <servlet-class>org.mortbay.proxy.AsyncProxyServlet$Transparent</servlet-class>
    <load-on-startup>1</load-on-startup>
    <init-param>
      <param-name>ProxyTo</param-name><param-value>http://www.google.com</param-value>
    </init-param>
    <init-param>
      <param-name>Prefix</param-name><param-value>/google</param-value>
    </init-param>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>GoogleProxy</servlet-name>
    <url-pattern>/google/*</url-pattern>
  </servlet-mapping>
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery