blob: 38d59720848f8320923856446c78a36ee0b7851a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
package com.yahoo.jrt;// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
* @author bjorncs
*/
class SimpleRequestAccessFilter implements RequestAccessFilter {
volatile boolean invoked = false, allowed = true;
@Override public boolean allow(Request r) { invoked = true; return allowed; }
}
|