|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.www.protocol.http.auth.LocalAuthFilter
public class LocalAuthFilter
| Method Summary | |
|---|---|
boolean |
exceptionFilter(Request request,
HttpException ex)
This filter doesn't handle exceptions. |
Reply |
ingoingFilter(Request request)
The ingoing filter just decorates the request with the credentials. |
static void |
installLocalAuth(HttpManager manager,
java.net.URL domain,
HttpCredential credentials)
Install a local authentication filter for the given target. |
static void |
installProxyAuth(HttpManager manager,
HttpCredential credentials)
Install a proxy authentication filter globally. |
Reply |
outgoingFilter(Request request,
Reply reply)
The outgoing filter is empty here. |
void |
sync()
We don't maintain cached informations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void installLocalAuth(HttpManager manager,
java.net.URL domain,
HttpCredential credentials)
manager - The HttpManager.for - The domain to which given credentials apply.credentials - The credentials to use for this domain.
public static void installProxyAuth(HttpManager manager,
HttpCredential credentials)
manager - The HttpManager.credentials - The credentials to use for this domain.
public boolean exceptionFilter(Request request,
HttpException ex)
exceptionFilter in interface RequestFilterrequest - The request that triggered the exception.ex - The triggered exception.
public Reply ingoingFilter(Request request)
ingoingFilter in interface RequestFilterrequest - The request to be processed.
public Reply outgoingFilter(Request request,
Reply reply)
outgoingFilter in interface RequestFilterrequest - The original (handled) request.reply - The reply, as emited by the target server, or constructed
by some other filter.public void sync()
sync in interface RequestFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||