Configuration options

Table 1. Optional configuration options
key type default value description

content

string

 

Binary content of the resource (base64 encoded).

content-plain

string

 

Plain content of the resource (text).

description

string

 

Description of this resource when configured through plain text or binary.

path

Path

 

Resource is located on filesystem.

proxy-host

string

 

Host of the proxy when using URI.

proxy-port

int

80

Port of the proxy when using URI.

resource-path

string

 

Resource is located on classpath.

uri

URI

 

Resource is available on a java.net.URI.

See proxy() See useProxy()

use-proxy

boolean

true

Whether to use proxy. If set to false, proxy will not be used even if configured. When set to true (default), proxy will be used if configured.