com.khubla.pragmatach.framework.annotation
Annotation Type Route


@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
public @interface Route

Author:
tome
 Routes are of the syntax /a/b/c/d. 
 If a part is wrapped in {} it's a dynamic part.
 The dynamic part consists of an optional regex followed by @ followed by a name.
 

Optional Element Summary
 Route.HttpMethod method
           
 String uri
           
 

method

public abstract Route.HttpMethod method
Default:
com.khubla.pragmatach.framework.annotation.Route.HttpMethod.get

uri

public abstract String uri
Default:
""


Copyright © 2014 khubla.com. All rights reserved.