org.apache.maven.plugins.site
Class AuthAsyncProxyServlet

java.lang.Object
  extended by org.mortbay.proxy.AsyncProxyServlet
      extended by org.apache.maven.plugins.site.AuthAsyncProxyServlet
All Implemented Interfaces:
javax.servlet.Servlet

public class AuthAsyncProxyServlet
extends org.mortbay.proxy.AsyncProxyServlet

Since:
Version:
$Id: AuthAsyncProxyServlet.html 816568 2012-05-08 12:09:38Z hboutemy $
Author:
olamy

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.proxy.AsyncProxyServlet
org.mortbay.proxy.AsyncProxyServlet.Transparent
 
Field Summary
 
Fields inherited from class org.mortbay.proxy.AsyncProxyServlet
_DontProxyHeaders
 
Constructor Summary
AuthAsyncProxyServlet(File siteTargetPath)
          Constructor for non authentication servlet.
AuthAsyncProxyServlet(Map<String,String> authentications, File siteTargetPath)
          Constructor for authentication servlet.
AuthAsyncProxyServlet(Map<String,String> authentications, long sleepTime, File siteTargetPath)
          Constructor for authentication servlet.
 
Method Summary
 void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
          
 
Methods inherited from class org.mortbay.proxy.AsyncProxyServlet
destroy, getServletConfig, getServletInfo, handleConnect, init, proxyHttpURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthAsyncProxyServlet

public AuthAsyncProxyServlet(File siteTargetPath)
Constructor for non authentication servlet.


AuthAsyncProxyServlet

public AuthAsyncProxyServlet(Map<String,String> authentications,
                             File siteTargetPath)
Constructor for authentication servlet.

Parameters:
authentications - a map of user/password

AuthAsyncProxyServlet

public AuthAsyncProxyServlet(Map<String,String> authentications,
                             long sleepTime,
                             File siteTargetPath)
Constructor for authentication servlet.

Parameters:
authentications - a map of user/password
sleepTime - a positive time to sleep the service thread (for timeout)
Method Detail

service

public void service(javax.servlet.ServletRequest req,
                    javax.servlet.ServletResponse res)
             throws javax.servlet.ServletException,
                    IOException

Specified by:
service in interface javax.servlet.Servlet
Overrides:
service in class org.mortbay.proxy.AsyncProxyServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.