summaryrefslogtreecommitdiffstats
path: root/jdisc_core/abi-spec.json
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-02-09 15:07:44 +0100
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-02-09 15:18:43 +0100
commit488a3986b3271e49c56945f84bca6bc68bf289bc (patch)
tree70c6e7f8dd08a4c223c1889a6b0023eac039020b /jdisc_core/abi-spec.json
parent6ef87df07fa0c0ffdd595e39647e8253cb558d92 (diff)
Introduce capability support for jdisc request handlers
Add trait like interface to define capability mapping based on HTTP method and uri path. Enforce required capabilities through wrapper handler through existing filtering request handler.
Diffstat (limited to 'jdisc_core/abi-spec.json')
-rw-r--r--jdisc_core/abi-spec.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/jdisc_core/abi-spec.json b/jdisc_core/abi-spec.json
index 0213d382894..acacccb4241 100644
--- a/jdisc_core/abi-spec.json
+++ b/jdisc_core/abi-spec.json
@@ -521,7 +521,9 @@
],
"methods" : [
"public abstract com.yahoo.jdisc.handler.RequestHandler getDelegate()",
- "public com.yahoo.jdisc.handler.RequestHandler getDelegateRecursive()"
+ "public com.yahoo.jdisc.handler.RequestHandler getDelegateRecursive()",
+ "public static com.yahoo.jdisc.handler.RequestHandler resolve(com.yahoo.jdisc.handler.RequestHandler)",
+ "public static java.util.Optional resolve(java.lang.Class, com.yahoo.jdisc.handler.RequestHandler)"
],
"fields" : [ ]
},