JAX-RS 2.1 - Connect and Read Timeouts JAX-RS 2.1 (part of Java EE 8) comes with configuration for read and connect timeouts. In Java EE 7 you had to use vendor-specific properties.