org.apache.maven.plugins.site
Class AuthAsyncProxyServlet
java.lang.Object
org.mortbay.proxy.AsyncProxyServlet
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 classes/interfaces inherited from class org.mortbay.proxy.AsyncProxyServlet |
org.mortbay.proxy.AsyncProxyServlet.Transparent |
Fields inherited from class org.mortbay.proxy.AsyncProxyServlet |
_DontProxyHeaders |
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 |
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/passwordsleepTime
- a positive time to sleep the service thread (for timeout)
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.