RFR: 8265123: Add static factory methods to com.sun.net.httpserver.Filter [v4]
Chris Hegarty
chegar at openjdk.java.net
Wed Apr 28 11:29:19 UTC 2021
On Wed, 28 Apr 2021 11:26:18 GMT, Julia Boes <jboes at openjdk.org> wrote:
>> 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 small fix in test
Marked as reviewed by chegar (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3468
More information about the net-dev
mailing list