|
|||||||||
| Home >> All >> org >> mortbay >> http >> [ handler overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mortbay.http.handler
Class HTAccessHandler

java.lang.Objectorg.mortbay.http.handler.AbstractHttpHandler
org.mortbay.http.handler.HTAccessHandler
- All Implemented Interfaces:
- org.mortbay.http.HttpHandler, org.mortbay.util.LifeCycle, java.io.Serializable
- public class HTAccessHandler
- extends AbstractHttpHandler
Handler to authenticate access using the Apache's .htaccess files.
- Version:
- HTAccessHandler v1.0a
| Nested Class Summary | |
private static class |
HTAccessHandler.HTAccess
|
| Field Summary | |
(package private) java.lang.String |
_accessFile
|
(package private) java.lang.String |
_default
|
(package private) java.util.HashMap |
_htCache
|
private static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.mortbay.http.handler.AbstractHttpHandler |
|
| Constructor Summary | |
HTAccessHandler()
|
|
| Method Summary | |
void |
handle(java.lang.String pathInContext,
java.lang.String pathParams,
org.mortbay.http.HttpRequest request,
org.mortbay.http.HttpResponse response)
Handle a request. |
void |
setAccessFile(java.lang.String anArg)
|
void |
setDefault(java.lang.String dir)
set functions for the following .xml administration statements. |
| Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler |
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
log
private static org.apache.commons.logging.Log log
_default
java.lang.String _default
_accessFile
java.lang.String _accessFile
_htCache
transient java.util.HashMap _htCache
| Constructor Detail |
HTAccessHandler
public HTAccessHandler()
| Method Detail |
handle
public void handle(java.lang.String pathInContext, java.lang.String pathParams, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response) throws org.mortbay.http.HttpException, java.io.IOException
- Description copied from interface:
org.mortbay.http.HttpHandler - Handle a request.
Note that Handlers are tried in order until one has handled the
request. i.e. until request.isHandled() returns true.
In broad terms this means, either a response has been commited
or request.setHandled(true) has been called.
setDefault
public void setDefault(java.lang.String dir)
- set functions for the following .xml administration statements.
./etc/htaccess .htaccess
setAccessFile
public void setAccessFile(java.lang.String anArg)
|
|||||||||
| Home >> All >> org >> mortbay >> http >> [ handler overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC