diff options
author | Morten Tokle <mortent@verizonmedia.com> | 2021-04-15 11:58:21 +0200 |
---|---|---|
committer | Morten Tokle <mortent@verizonmedia.com> | 2021-04-15 12:01:30 +0200 |
commit | 96c2e442cbb798f0c85990d3f0c760c60ee9a5b3 (patch) | |
tree | 3e3559545df8686955d083b65eb239baa8c09505 /container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java | |
parent | 81fad70d16a8494ce0464af6ee4ba9c0e12f6a6e (diff) |
Custom acl mapping
Diffstat (limited to 'container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java')
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/jdisc/RequestView.java | 18 |
1 files changed, 18 insertions, 0 deletions
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(); +} |