RFR: 8265123: Add static factory methods to com.sun.net.httpserver.Filter [v2]
Julia Boes
jboes at openjdk.java.net
Mon Apr 26 14:25:50 UTC 2021
> Add two static factory methods to com.sun.net.httpserver.Filter that facilitate the creation of pre- and post-processing Filters:
>
> `public static Filter beforeResponse(String description, Consumer<HttpExchange> filterImpl) {}`
> `public static Filter afterResponse(String description, Consumer<HttpExchange> filterImpl) {}`
Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
update specs and add test
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3468/files
- new: https://git.openjdk.java.net/jdk/pull/3468/files/88faeabf..38ce81f4
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3468&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3468&range=00-01
Stats: 182 lines in 2 files changed: 126 ins; 1 del; 55 mod
Patch: https://git.openjdk.java.net/jdk/pull/3468.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3468/head:pull/3468
PR: https://git.openjdk.java.net/jdk/pull/3468
More information about the net-dev
mailing list