Index
A
- accept(MediaType) object / The @Consumes annotation
- AJAX-RS resource / Creating a new project
B
- @BeanParam annotation / The bean parameter
- @BeanParamannotation
- about / @BeanParam
- bean parameter
- about / The bean parameter
- setting / The bean parameter
- @BeanParam annotation / The bean parameter
- UserBean class / The bean parameter
- Builder class / The put method
C
- @Consumes annotation
- about / Root-resource classes, @Consumes, The @Consumes annotation
- accept(MediaType) object / The @Consumes annotation
- @Consumes media type / The get method
- @CookieParam annotation
- about / @CookieParam
- client
- Client-side and Server-side Asynchronous / Features of JAX-RS 2.0
- client.target() method / Consuming web services using a client
- Client API / Features of JAX-RS 2.0
- ClientBuilder method / Consuming web services using a client
- Connection Negotiation / Features of JAX-RS 2.0
- cookie(Cookie) method / The cookie parameter
- cookie parameter
- about / The cookie parameter
- cookie(Cookie) method / The cookie parameter
- @CookieParam annotation / The cookie parameter
- core Jersey modules
- about / Modules and dependencies
- createDefaultMapper() method / Jackson
- createUserObjectMapper() method / Jackson
D
- @DefaultValue annotation
- about / @DefaultValue
- @DELETE annotation
- about / Root-resource classes, @DELETE
- data representation
- delete(...) method / The delete method
- dependencies / Modules and dependencies
F
- @FormParam annotation
- about / @FormParam
G
- @GET annotation
- about / Root-resource classes, @GET
- get(...) method / The get method
- getCookies() method
- about / @CookieParam
- getResource method / Consuming web services using a client
- getResource web service / Consuming web services using a client
- getSingletons() method / MOXy
- getUser() method
- about / @GET
- getUserById() method
- about / @MatrixParam
- getUserByName() method
- about / @PathParam
- greet() method
- about / @Produces
- greetUser() method
- about / @Produces
H
- @HeaderParam annotation
- about / @HeaderParam
- HTTP delete method
- about / The delete method
- delete(...) method / The delete method
- @Produces media type / The delete method
- HTTP get method
- about / The get method
- get(...) method / The get method
- @Consumes media type / The get method
- HTTP methods
- HTTP post method
- about / The post method
- @Produces media type / The post method
- HTTP put method
- about / The put method
- Builder class / The put method
- put(...) method / The put method
- HyperMedia as the Engine of Application State (HATEOAS) / Features of JAX-RS 2.0
I
- injection
- about / Rules of injection
- rules / Rules of injection
- examples / Rules of injection
- Invocation.Builder
- using / Use of Invocation.Builder
- invoke(T) object / Use of Invocation.Builder
- support, adding for new representations / Adding support for new representations
- Client transport connectors / Client transport connectors
- invoke(T) object / Use of Invocation.Builder
J
- Jackson
- JAX-RS
- JAX-RS 1.0
- features / What is JAX-RS 2.0?
- JAX-RS 2.0
- about / What is JAX-RS 2.0?
- features / Features of JAX-RS 2.0
- specification / Features of JAX-RS 2.0
- JAX-RS annotations
- @Path / Root-resource classes
- @PathParam / Root-resource classes
- @GET / Root-resource classes
- @PUT / Root-resource classes
- @POST / Root-resource classes
- @DELETE / Root-resource classes
- @Produces / Root-resource classes
- @Consumes / Root-resource classes
- JAX-RS client API
- JAXB support, XML
- implementing, on server side / JAXB support
- implementing, on client side / JAXB support
- implementing, on server and client side / JAXB support
- Jersey / Features of JAX-RS 2.0
- Jersey-based applications
- creating / Modules and dependencies
- jersey.config.server.provider.packages / Creating a new project
- Jersey 2.0 / What is JAX-RS 2.0?
- Jersey 2.0 binaries / Modules and dependencies
- Jersey 2.0 Maven repository / Modules and dependencies
- Jersey Core JAX-RS 2.0 Bundle
- URL, for downloading / Modules and dependencies
- Jettison
- JSON
- about / JSON
- MOXy component / MOXy
- -P / Java API for JSON Processing (JSON-P)
- Jackson / Jackson
- Jettison / Jettison
- JSON-P
- about / Java API for JSON Processing (JSON-P)
- using / Java API for JSON Processing (JSON-P)
- using, on server side / Java API for JSON Processing (JSON-P)
- using, on client side / Java API for JSON Processing (JSON-P)
L
- low-level XML support, XML
- about / Low-level XML support
- example / Low-level XML support
- implementing, on server side / Low-level XML support
- implementing, on client side / Low-level XML support
M
- @MatrixParam annotation
- about / @MatrixParam
- matrix parameter
- setting / The matrix parameter
- matrixParam(String,Object) method / The matrix parameter
- toString() method / The matrix parameter
- @MatrixParam annotation / The matrix parameter
- modules / Modules and dependencies
- MOXy component
- about / MOXy
- using / MOXy
- ResourceConfig class, using / Using ResourceConfig class
- multipart representation
P
- @*Param annotation / Ease of using and reusing JAX-RS artifacts
- @Path annotation
- about / Root-resource classes, @Path
- URI path / @Path
- with, regular expression / @Path with a regular expression
- @PathParam annotation
- about / Root-resource classes, @PathParam
- @POST annotation
- about / Root-resource classes, @POST
- @Produces annotation
- about / Root-resource classes, @Produces, The @Produces annotation
- request(MediaType) method / The @Produces annotation
- @Produces media type / The post method, The delete method
- @PUT annotation
- about / Root-resource classes, @PUT
- parameter annotations
- @PathParam / @PathParam
- @QueryParam / @QueryParam
- @DefaultValue / @DefaultValue
- @MatrixParam / @MatrixParam
- @HeaderParam / @HeaderParam
- @CookieParam / @CookieParam
- @FormParam / @FormParam
- @BeanParam / @BeanParam
- path() method / Consuming web services using a client
- path parameter
- about / The path parameter
- resolveTemplate(String,Object) method / The path parameter
- @Path annotation / The path parameter
- @PathParam annotation / The path parameter
- Per-lookup scope
- POJOs
- post() method / Multipart
- post(...) method / The post method
- project
- creating / Creating a new project
- pull model, SSE
- about / The pull model (Using EventInput)
- example / The pull model (Using EventInput)
- push model, SSE
- example / The push model (using EventSource)
- put(...) method / The put method
Q
- @QueryParam annotation
- about / @QueryParam
- @QueryParameter annotation / The query parameter
- queryParam(String,Object) method / The query parameter
- query parameter
- about / The query parameter
- queryParam(String,Object) method / The query parameter
- @QueryParam annotation / The query parameter
R
- request(MediaType) method / The @Produces annotation
- Request scope
- resolveTemplate(String,Object) method / The path parameter
- Resource class
- creating / Creating a new project
- ResourceConfig class, MOXy component
- using / Using ResourceConfig class
- resource scopes
- request scope / Scope of the root-resource classes
- per-lookup scope / Scope of the root-resource classes
- singleton scope / Scope of the root-resource classes
- RESTEasy / Features of JAX-RS 2.0
- RESTful principles / What is JAX-RS 2.0?
- RESTful web service
- deploying / Deploying a RESTful web service
- deploying, abstract Application class used / Deploying a RESTful web service
- deploying, ResourceConfig class used / Deploying a RESTful web service
- deploying, without Application class / Deploying a RESTful web service
- root resource classes
- about / Root-resource classes
- scope / Scope of the root-resource classes
S
- Secure Sockets Layer (SSL) / Securing a client
- Server-Side Events (SSE) / Features of JAX-RS 2.0
- Service Provider Interface (SPI) / Client transport connectors
- Simplified API / Features of JAX-RS 2.0
- singleton scope
- SSE
- about / Getting started
- flow diagram / Getting started
- implementing / Implementing Server-Sent Events (SSE)
- events, consuming / Consuming the SSE events
- pull model / The pull model (Using EventInput)
- push model / The push model (using EventSource)
- SseBroadcaster class / Implementing Server-Sent Events (SSE)
- SSEResource root class / Implementing Server-Sent Events (SSE)
- SSLContent.getInstance(String) / Securing a client
- sub resources
- using / Subresources
- examples / Subresources
T
- toString() method / The matrix parameter
U
- UserBean class / The bean parameter
V
- validation / Features of JAX-RS 2.0
W
- WADL
- about / Getting started
- structure / Getting started
- specification, for web service / Getting started
- specification, viewing / Getting started
- configuring / Configuration
- WebTarget instance / Consuming web services using a client
X
- XML
- about / XML
- low-level XML support / Low-level XML support
- JAXB support / JAXB support
- POJOs / POJOs