From 96c2e442cbb798f0c85990d3f0c760c60ee9a5b3 Mon Sep 17 00:00:00 2001 From: Morten Tokle Date: Thu, 15 Apr 2021 11:58:21 +0200 Subject: Custom acl mapping --- .../java/com/yahoo/container/jdisc/RequestView.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java (limited to 'container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java') diff --git a/container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java b/container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java new file mode 100644 index 00000000000..51a5fdc8959 --- /dev/null +++ b/container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java @@ -0,0 +1,18 @@ +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +package com.yahoo.container.jdisc; + +import com.yahoo.jdisc.http.HttpRequest; + +import java.net.URI; + +/** + * Read-only view of the request + * + * @author mortent + */ +public interface RequestView { + HttpRequest.Method method(); + + URI uri(); +} -- cgit v1.2.3