public static class ClientRequest extends Object
ClientRequest
class in order to provide a
ClientExecutor
and ResteasyProviderFactory
without requiring clients to pass them in.
Additionally, this class overrides the various http methods (post, get, put) in order to implement
some error handling. These methods will throw an appropriate exception now (when possible), rather
than a less meaningful RESTEasy generic exception. When communicating with the JBoss s-ramp
implementation, this error handling should work well (it should throw an exception that also includes
the server-side root-cause stack trace). When connecting to some other s-ramp implementation, your
mileage may vary.Copyright © 2011–2015 JBoss, a division of Red Hat. All rights reserved.