Java Reference
In-Depth Information
Wrapping Up
In this chapter, we examined the intricacies of the @javax.ws.rs.Path annotation. @Path al-
lows you to define complex URI matching patterns that can map to a Java method. These
patterns can be defined using regular expressions and also support encoding. We also dis-
cussed subresource locators, which allow you to programmatically perform your own dy-
namic dispatching of HTTP requests. Finally, we looked at how you can hook into new
HTTP operations by using the @HttpMethod annotation. You can test-drive the code in this
chapter in Chapter 19 .
[ 3 ] For more information on WebDAV, see http://www.webdav.org .
 
Search WWH ::




Custom Search