JBoss Enterprise Web Platform 5
for Use with JBoss Enterprise Web Platform
Edition 5.1.1
Legal Notice
Copyright © 2011 Red Hat, Inc.
This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack Logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Abstract
This book is a reference guide for using RESTEasy with JBoss Enterprise Web Platform 5 and its patch releases.
- Preface
- 1. Overview
- 2. Installation/Configuration
- 3. Using @Path and @GET, @POST, etc.
- 4. @PathParam
- 5. @QueryParam
- 6. @HeaderParam
- 7. @MatrixParam
- 8. @CookieParam
- 9. @FormParam
- 10. @Form
- 11. @DefaultValue
- 12. @Encoded and encoding
- 13. @Context
- 14. JAX-RS Resource Locators and Sub Resources
- 15. JAX-RS Content Negotiation
- 16. Content Marshalling/Providers
- 17. JAXB Providers
- 18. RESTEasy Atom Support
- 19. JSON Support via Jackson
- 20. Multipart Providers
- 20.1. Input with multipart/mixed
- 20.2. java.util.List with multipart data
- 20.3. Input with multipart/form-data
- 20.4. java.util.Map with multipart/form-data
- 20.5. Input with multipart/related
- 20.6. Output with multipart
- 20.7. Multipart Output with java.util.List
- 20.8. Output with multipart/form-data
- 20.9. Multipart FormData Output with java.util.Map
- 20.10. Output with multipart/related
- 20.11. @MultipartForm and POJOs
- 20.12. XML-binary Optimized Packaging (Xop)
- 21. YAML Provider
- 22. String marshalling for String based @*Param
- 23. Responses using javax.ws.rs.core.Response
- 24. Exception Handling
- 25. Configuring Individual JAX-RS Resource Beans
- 26. GZIP Compression/Decompression
- 27. RESTEasy Caching Features
- 28. Interceptors
- 29. Asynchronous HTTP Request Processing
- 30. Asynchronous Job Service
- 31. Embedded Container
- 32. Server-side Mock Framework
- 33. Securing JAX-RS and RESTeasy
- 34. EJB Integration
- 35. Spring Integration
- 36. Guice 1.0 Integration
- 37. Client Framework
- 38. Maven and RESTEasy
- 39. JBoss 5.x Integration
- 40. Migration from older versions
- A. Revision History