|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.net.httpserver.Filter
sun.net.httpserver.AuthFilter
public class AuthFilter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.net.httpserver.Filter |
|---|
Filter.Chain |
| Constructor Summary | |
|---|---|
AuthFilter(Authenticator authenticator)
|
|
| Method Summary | |
|---|---|
void |
consumeInput(HttpExchange t)
|
java.lang.String |
description()
returns a short description of this Filter |
void |
doFilter(HttpExchange t,
Filter.Chain chain)
The filter's implementation, which is invoked by the server |
void |
setAuthenticator(Authenticator a)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthFilter(Authenticator authenticator)
| Method Detail |
|---|
public java.lang.String description()
Filter
description in class Filterpublic void setAuthenticator(Authenticator a)
public void consumeInput(HttpExchange t)
throws java.io.IOException
java.io.IOException
public void doFilter(HttpExchange t,
Filter.Chain chain)
throws java.io.IOException
doFilter in class Filtert - the HttpExchange to be filtered.chain - the Chain which allows the next filter to be invoked.
java.io.IOException - may be thrown by any filter module, and if
caught, must be rethrown again.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||