org.apache.deft.annotation
Annotation Type Path


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Path

Defines the request path for which the annotated RequestHandler method is applicable. The path is defined from root, and so for example to associate a RequestHandler with the top-level directory "images":

@Path("/images/")

Values are a combination of paths and regular expressions as understood by Pattern. For example:


Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


Copyright © 2010-2011. All Rights Reserved.