org.jboss.resteasy.spi.touri
Annotation Type URITemplate


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

This annotation can be added to any object to perform Java beans-based transformation between URI template and bean properties. For example, take the following bean:

 @URITemplate("/foo/{id}")
 public class Foo
 {
    private int id;
    // getters and setters
 }
 

for a Foo f with id = 123, ObjectToURI.getInstance(f) = "/foo/123"

Version:
$Revision: 1 $
Author:
Solomon Duskis

Required Element Summary
 java.lang.String value
           
 

Element Detail

value

public abstract java.lang.String value


Copyright © 2010. All Rights Reserved.