Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java HTTP Server DRAFT ea-b118 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.net.httpserver.Filter.Chain
public static class Filter.Chain extends Object
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 and Description |
---|
Filter.Chain(List<Filter> filters,
HttpHandler handler)
|
Modifier and Type | Method and Description |
---|---|
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(List<Filter> filters, HttpHandler handler)
Method Detail |
---|
public void doFilter(HttpExchange exchange) throws IOException
exchange
- the HttpExchangeIOException
- let exceptions pass up the stackNullPointerException
- if exchange is null
|
Java HTTP Server DRAFT ea-b118 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005, 2010, Oracle Corporation. All rights reserved.