Download Jersey 2.0.1 User Guide

Transcript
Jersey 2.0.1 User Guide
10. Asynchronous Services and Clients .................................................................................
11. Programmatic API for Building Resources .......................................................................
11.1. Introduction .....................................................................................................
11.2. Programmatic Hello World example .....................................................................
11.2.1. Deployment of programmatic resources ......................................................
11.3. Additional examples ..........................................................................................
11.4. Model processors ..............................................................................................
12. Support for Common Media Types .................................................................................
12.1. JSON ..............................................................................................................
12.2. XML ..............................................................................................................
12.3. Multipart .........................................................................................................
13. Support for Server-Sent Events ......................................................................................
14. Security .....................................................................................................................
15. WADL Support ...........................................................................................................
16. Jersey Test Framework .................................................................................................
17. Building and Testing Jersey ..........................................................................................
17.1. Checking Out the Source ....................................................................................
17.2. Building the Source ...........................................................................................
17.3. Testing ............................................................................................................
17.4. Using NetBeans ................................................................................................
18. Migrating from Jersey 1.x .............................................................................................
18.1. Server API .......................................................................................................
18.1.1. Injecting custom objects ...........................................................................
18.1.2. ResourceConfig Reload ...........................................................................
18.1.3. MessageBodyReaders and MessageBodyWriters ordering ...............................
18.2. Client API .......................................................................................................
18.2.1. Making a simple client request ..................................................................
18.2.2. Registering filters ...................................................................................
18.2.3. Setting "Accept" header ...........................................................................
18.2.4. Attaching entity to request ........................................................................
18.2.5. Setting SSLContext and/or HostnameVerifier ...............................................
iv
46
47
47
47
49
50
51
54
54
54
54
55
56
57
58
59
59
59
59
60
61
61
61
63
64
64
66
66
66
67
67