Annotation Interface McpResourceUriParameter
Binds a
McpResource method parameter to a URI-template variable.
Resource URI parameters are strings. A blank name() uses the
source-level Java parameter name captured by Soklet's annotation processor;
an explicit name keeps the public template contract stable across Java
refactoring.
Values are UTF-8 percent-decoded exactly once. An encoded slash
(%2F) becomes /; %252F becomes the literal string
%2F. Captures can be empty and can contain decoded NUL, CR or LF;
validate them for the intended application use. A Level 1 variable cannot
capture an unencoded slash. The
application owns path authorization and filesystem containment checks.
- Author:
- Mark Allen
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
-