Top "Jax-rs" questions

JAX-RS: Java API for RESTful Web Services.

Character Encoding in POST JSON Request

I am sending a POST JSON Request to my application. POST /CharSetTest/Test HTTP/1.1 Host: localhost:8090 Content-Type: application/json Cache-Control: …

java rest jax-rs cxf
CXF JAXRS - How do I pass Date as QueryParam

I have a service defined as follows. public String getData(@QueryParam("date") Date date) I'm trying to pass a java.…

java rest service cxf jax-rs
FileUpload with JAX-RS

I try to do file upload from a JavaScript client to a JAX-RS Java server. I use the following REST …

java rest grails jersey jax-rs
How to deploy a JAX-RS application?

The JAX-RS 1.1 specification says on page 6: If no Application subclass is present the added servlet MUST be named: javax.ws.…

java deployment servlets jax-rs
REST API DESIGN - Getting a resource through REST with different parameters but same url pattern

I have a question related to REST url design. I found some relevant posts here: Different RESTful representations of the …

rest url jax-rs url-scheme url-pattern
Json Mapping Exception can not deserialize instance out of START_ARRAY token

I'm trying to parse my json request to my model. I dunno what is wrong in this code. Syntax of …

java json jackson cxf jax-rs
java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri

I try to start application but using Tomcat 7 and I've got an exception like this. I think this can be …

jersey jax-rs abstractmethoderror
Java RestFull WebService: JAX-RS implementation with Jersey 2.3.1 libraries

I am trying to run a simple "Hallo World" application Jersey 2.3.1 REST service on JBoss jboss-eap-6.1 AS. In web.xml …

java jersey jax-rs jboss6.x
How can I grab all query parameters in Jersey JaxRS?

I am building a generic web service and need to grab all the query parameters into one string for later …

java jersey jax-rs
Trying to upload a file to a JAX-RS (jersey) server

I'm trying to upload a file and other form data using multipart/form-data client with Jersey. I'm uploading to a …

java file-upload jersey client jax-rs