Interface Target

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Target
The resource a role is checked on: the values RolesAllowed.on() names, read from path and query parameters on HTTP and from tool arguments on MCP.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Target
    A role checked on nothing in particular.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name)
    The value called name, or null when the call does not carry one.
  • Field Details

    • NONE

      static final Target NONE
      A role checked on nothing in particular.
  • Method Details

    • get

      String get(String name)
      The value called name, or null when the call does not carry one.