Annotation Interface PathParameter


Apply to Resource Method parameters to enable URL path parameter (for example, /widgets/{widgetId}) injection.

Refer to documentation at https://www.soklet.com/docs/request-handling#path-parameters for details.

Author:
Mark Allen
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the URL path parameter.
  • Element Details

    • name

      The name of the URL path parameter.

      If null or blank, defaults to the name of the Java method parameter if your application is built with the -parameters compiler option.

      Returns:
      the name of the URL path parameter to inject into this Resource Method parameter
      Default:
      ""