Constructor and Description |
---|
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.
|
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
Copyright © 2005, 2024, Oracle and/or its affiliates. All rights reserved.