| 1 |
|
| 2 |
This project is an example of using HTTP conneg to pick between XML and HTML and plain text using file name suffix |
| 3 |
mappings provided by RESTEasy. |
| 4 |
|
| 5 |
System Requirements: |
| 6 |
==================== |
| 7 |
- Maven 2.0.9 or higher |
| 8 |
|
| 9 |
Building the project: |
| 10 |
==================== |
| 11 |
1. In root directoy |
| 12 |
|
| 13 |
mvn jetty:run |
| 14 |
|
| 15 |
Use these links: |
| 16 |
|
| 17 |
http://localhost:9095/customers/1 |
| 18 |
http://localhost:9095/customers/1.txt |
| 19 |
http://localhost:9095/customers/1.html |
| 20 |
|
| 21 |
|
| 22 |
This will build a WAR and run it with embedded Jetty |