blob: e1834fd8b7d4b0025f42e0559c7a5f09bebef3f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.http.filter.chain;
import com.yahoo.jdisc.NoopSharedResource;
import com.yahoo.jdisc.handler.ResponseHandler;
import com.yahoo.jdisc.http.HttpRequest;
import com.yahoo.jdisc.http.filter.RequestFilter;
/**
* @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
*/
public final class EmptyRequestFilter extends NoopSharedResource implements RequestFilter {
public static final RequestFilter INSTANCE = new EmptyRequestFilter();
private EmptyRequestFilter() {
// hide
}
@Override
public void filter(HttpRequest request, ResponseHandler handler) {
}
}
|