[jax-rs-spec users] Proposal for tiny API extension

From: Markus KARG <>
Date: Sun, 25 Sep 2016 11:53:47 +0200



it is tedious that one cannot provide a proxy URL in a portable way (see


I assume that all current JAX-RS 2.0 compliant containers already use native
literals to enable HTTP proxies, so it should be done in minutes to
implement some additional, cross-product literals to do the same in a
portable way. :-)


Hence I'd like to propose a tiny API extension to be included in JSR 370. It
should take less than one hour to implement, but would help people to write
portable code:


Let us extend by the following literals:


public static String PROXY_URL = "";


public static String PROXY_USER = "";


public static String PROXY_PASSWORD = "";


Comments, votes? :-)