Constructor | Description |
---|---|
Chain(List<Filter> filters,
HttpHandler handler) |
Modifier and Type | Method | 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.
|
public Chain(List<Filter> filters, HttpHandler handler)
public void doFilter(HttpExchange exchange) throws IOException
exchange
- the HttpExchangeIOException
- let exceptions pass up the stackNullPointerException
- if exchange is null
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1