Lines Matching defs:asset
26 * Immutable value type that names a web asset.
28 * <p>A web asset can be named by its protocol, domain, and port using this JSON string:
84 StringBuilder asset = new StringBuilder();
85 asset.append("WebAsset: ");
86 asset.append(toJson());
87 return asset.toString();
111 // Only allow insecure include file if the asset scheme is http.
116 * Checks that the input is a valid web asset.
118 * @throws AssociationServiceException if the asset is not well formatted.
120 protected static WebAsset create(JSONObject asset)
122 if (asset.optString(Utils.WEB_ASSET_FIELD_SITE).equals("")) {
129 url = new URL(asset.optString(Utils.WEB_ASSET_FIELD_SITE));