Resource (common.configurable) Configuration

Type: io.helidon.common.configurable.Resource

Configuration options

Optional configuration options
keytypedefault valuedescription
content

string

 

Binary content of the resource (base64 encoded).

@return binary content
content-plain

string

 

Plain content of the resource (text).

@return plain content
description

string

 

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

@return description
path

Path

 

Resource is located on filesystem.

@return path of the resource
proxy-host

string

 

Host of the proxy when using URI.

@return proxy host
proxy-port

int

80

Port of the proxy when using URI.

@return proxy port
resource-path

string

 

Resource is located on classpath.

@return classpath location of the resource
uri

URI

 

Resource is available on a java.net.URI.

@return of the resource
@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.

@return whether to use proxy if configured