juzu

## Annotation Type Param

-     @Retention(value=RUNTIME)
      @Target(value=PARAMETER)
      public @interface Param

  An annotation describing a parameter.

  ## Annotating a route parameter

  Route parameters can be annotated to provide constrain the value of a parameter, for instance:

  `

          public class MyController {

             @View
             @Route("/myview/{id}")
             public Response.Content myView(@Param(pattern = "[0-9]+") String id) { ... }
          }

  `
  Author:
    Julien Viet

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `captureGroup`
    `String` | `name` The parameter name, when set overrides the introspected name.
    `String` | `pattern` The parameter pattern as a valid regular expression.
    `boolean` | `preservePath`

- - ### Element Detail

    - #### name

          public abstract String name

      The parameter name, when set overrides the introspected name. This is useful when a parameter name cannot be expressed as a valid java identifier, for example a parameter name containing a dot character.
      Returns:
        the parametre name
      Default:
        ""

    - #### pattern

          public abstract String pattern

      The parameter pattern as a valid regular expression.
      Returns:
        the pattern value
      Default:
        ""

    - #### preservePath

          public abstract boolean preservePath

      Default:
        false

    - #### captureGroup

          public abstract boolean captureGroup

      Default:
        false

Copyright © 2014 eXo Platform SAS. All rights reserved.