Jersey has wonderful support for server-side handling of Preconditions to respond to a Conditional-GET-request.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
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?
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);
}
Tags
java,
jaxb,
jersey,
rest,
Tips For Programmer
Subscribe to:
Posts (Atom)