|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.net.httpserver.Filter.Chain
public static class Filter.Chain
a chain of filters associated with a HttpServer. Each filter in the chain is given one of these so it can invoke the next filter in the chain
| Constructor Summary | |
|---|---|
Filter.Chain(java.util.List<Filter> filters,
HttpHandler handler)
|
|
| Method Summary | |
|---|---|
void |
doFilter(HttpExchange exchange)
calls the next filter in the chain, or else the users exchange handler, if this is the final filter in the chain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter.Chain(java.util.List<Filter> filters,
HttpHandler handler)
| Method Detail |
|---|
public void doFilter(HttpExchange exchange)
throws java.io.IOException
exchange - the HttpExchange
java.io.IOException - let exceptions pass up the stack
java.lang.NullPointerException - if exchange is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||