src/main/java/org/eiichiro/bootleg/Routing.java
public void add(String pattern, Class<?> endpoint, String method) {
		add(null, pattern, endpoint, method);
	}
public void add(String pattern, Class<?> endpoint, String method) {
		add(null, pattern, endpoint, method);
	}
public void add ( String pattern , Class < ? > endpoint , String method ) { add ( null , pattern , endpoint , method ) ; }
Adds URL routing pattern.
The routing pattern can be specified as URI template format and the path
variables can be passed to Web endpoint method like this:
<pre>
{@code @Override}
public void routing(Routing routing) {
routing.add("/user/{id}/*", User.class, "handle");
}
</pre>
<pre>
{@code}
public class User {

// '/user/{id}/*' is routed to this method.
public void handle({@code} String id) {
...
</pre>
<b>Note</b>: If a certain URI matches to multiple routing patterns, the
routing pattern that has the most path segments (split by '/') is used in
preference to the others. If there are multiple routing patterns that
have the same path segments, the first-specified one is used.

@param pattern URL routing pattern as URI template format.
@param endpoint Web endpoint class corresponding to the routing pattern.
@param method Web endpoint method corresponding to the routing pattern.
@see URITemplate
Adds URL routing pattern . The routing pattern can be specified as URI template format and the path variables can be passed to Web endpoint method like this : <pre > { @code @Override } public void routing ( Routing routing ) { routing . add ( / user / { id } / * User . class handle ) ; } < / pre > <pre > { @code } public class User {