This topic has not yet been written. The content below is from the topic description.
43.4. Manual ClientRequest API Resteasy has a manual API for invoking requests: org.jboss.resteasy.client.ClientRequest See the Javadoc for the full capabilities of this class. Here is a simple example: ClientRequest request = new ClientRequest("http://localhost:8080/some/path"); request.header("custom-header", "value"); // We're posting XML and a JAXB object request.body("application/xml", someJaxb); // we're expecting a String back ClientResponse response = request.post(String.class); if (response.getStatus() == 200) // OK! { String str = response.getEntity(); }