Showing posts with label jersey. Show all posts
Showing posts with label jersey. Show all posts

Tuesday, February 28, 2012

Jersey Client: Cache-Manager for Conditional GET?


Jersey has wonderful support for server-side handling of Preconditions to respond to a Conditional-GET-request.

Friday, February 10, 2012

Exception while trying to use jersey and jaxb


The following code:




@POST
@Path("/previous-status/{current}")
@Consumes(MediaType.APPLICATION_XML)
@Produces(MediaType.TEXT_PLAIN)
public String getPreviousStepStatus(@PathParam("current") JAXBElement<WorkflowStep> step) {
WorkflowStep wfStep = step.getValue();
return DBAccessor.getPrevStepStatus(wfStep);
}