net.craftforge.essential.controller.annotations
Annotation Type Path


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface Path

Indicates the path that leads to a resource class or resource method. The path may also contain path variables. Those are declared as follows:

Example 1: /staticPath/{variable}
Example 2: /staticPath/{variable}/{anotherVariable}/anotherStaticPath

Since:
03.02.2011
Author:
Christian Bick

Required Element Summary
 String value
          The path that leads to a resource class or resource method.
 

Element Detail

value

public abstract String value
The path that leads to a resource class or resource method.

Returns:
The path


Copyright © 2011. All Rights Reserved.