I am looking to set timeout for every request object in RestEasy. Jersey gives the same functionality through request properties. Please refer this answer - https://stackoverflow.com/a/36056418
// overriden timeout value for this request
request.property(ClientProperties.CONNECT_TIMEOUT, 500);
request.property(ClientProperties.READ_TIMEOUT, 500);
I couldn't find similar feature for RestEasy. The feature to configure it per Client is available, but because of the framework we use the Client is instantiated at startup & reused for all requests.
Thanks