Monthly Archive: June 2013
In this tutorial we will discuss about Matrix parameters, these are a set of “name=value” in URI path, for example- /salary/21111;empname=dinesh In above URI, the matrix parameter is “empname=dinesh”, separate by a semi colon “;”. …
In this article we will explain about the JAX-RS, you can use @QueryParam annotation to inject URI query parameter into Java method. for example, /employees/query?url=dineshonjava.com In above URI pattern, query parameter is “url=dineshonjava.com”, and you …
In this article we will explain in JAX-RS, you can use @PathParam to inject the value of URI parameter that defined in @Path expression, into Java method. 1. @PathParam – Single Parameter A simple and …
In this JAX-RS tutorial , you can use @Path to bind URI pattern to a Java method. See following examples to show you how it works. 1. Normal URI Matching See normal URI matching with …
Java Architecture for XML Binding (JAXB) is an XML-to-Java binding technology that simplifies the development of web services by enabling transformations between schema and Java objects and between XML instance documents and Java object instances. …
JAX-RS annotations for resource classes let you extract specific parts or values from a Uniform Resource Identifier (URI) or request header. Annotation Description @Context Injects information into a class field, bean property, or method parameter …
The information sent to a resource and then passed back to the client is specified as a MIME media type in the headers of an HTTP request or response. You can specify which MIME media …