Class BackendUrl
java.lang.Object
com.google.adk.web.config.BackendUrl
Parsed representation of
adk.web.backend-url, shared by the runtime-config endpoint and
the dev UI entry redirects.-
Method Summary
Modifier and TypeMethodDescriptionstatic BackendUrlParsesconfigured.Returns the URL path prefix to prepend to the entry redirect, or empty if unset or ignored.value()Returns the URL to report inruntime-config.json, or empty when unset or ignored.
-
Method Details
-
from
Parsesconfigured. A URL the dev UI cannot use is ignored entirely, with a warning: it is neither served nor used as a prefix, so the bundledbackendUrlstands. Serving it would publish whatever it contains, credentials included, to every browser. -
value
Returns the URL to report inruntime-config.json, or empty when unset or ignored. -
pathPrefix
Returns the URL path prefix to prepend to the entry redirect, or empty if unset or ignored. Preserves raw percent-encoding for use in aLocationheader.
-