Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Reference environment variables in jetty descriptors?

have you tried something such <Env name="HOME"/>.?

On Tue, Jul 30, 2019 at 9:15 AM David Karlsen <davidkarlsen@xxxxxxxxx> wrote:
Is it possible to refer environment variables in jetty descriptors?
I am trying to avoid hardcoding proxy values in jetty-websocket-httpclient.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "">

<Configure class="org.eclipse.jetty.client.HttpClient">
<New class="org.eclipse.jetty.util.ssl.SslContextFactory" />
<Get name="proxyConfiguration">
<Get name="proxies">
<Call name="add">
<New class="org.eclipse.jetty.client.HttpProxy">
<Arg type="String">HERE</Arg>
<Arg type="Integer">HERE</Arg>

jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


Back to the top