- 2.53.0 (latest)
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public interface StaticFilesHandlerOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsHttpHeaders(String key)
public abstract boolean containsHttpHeaders(String key)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
Name | Description |
key | String |
Type | Description |
boolean |
getApplicationReadable()
public abstract boolean getApplicationReadable()
Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
bool application_readable = 7;
Type | Description |
boolean | The applicationReadable. |
getExpiration()
public abstract Duration getExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
Type | Description |
Duration | The expiration. |
getExpirationOrBuilder()
public abstract DurationOrBuilder getExpirationOrBuilder()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
Type | Description |
DurationOrBuilder |
getHttpHeaders()
public abstract Map<String,String> getHttpHeaders()
Use #getHttpHeadersMap() instead.
Type | Description |
Map<String,String> |
getHttpHeadersCount()
public abstract int getHttpHeadersCount()
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
Type | Description |
int |
getHttpHeadersMap()
public abstract Map<String,String> getHttpHeadersMap()
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
Type | Description |
Map<String,String> |
getHttpHeadersOrDefault(String key, String defaultValue)
public abstract String getHttpHeadersOrDefault(String key, String defaultValue)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getHttpHeadersOrThrow(String key)
public abstract String getHttpHeadersOrThrow(String key)
HTTP headers to use for all responses from these URLs.
map<string, string> http_headers = 3;
Name | Description |
key | String |
Type | Description |
String |
getMimeType()
public abstract String getMimeType()
MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
string mime_type = 4;
Type | Description |
String | The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()
MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.
string mime_type = 4;
Type | Description |
ByteString | The bytes for mimeType. |
getPath()
public abstract String getPath()
Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
string path = 1;
Type | Description |
String | The path. |
getPathBytes()
public abstract ByteString getPathBytes()
Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
string path = 1;
Type | Description |
ByteString | The bytes for path. |
getRequireMatchingFile()
public abstract boolean getRequireMatchingFile()
Whether this handler should match the request if the file referenced by the handler does not exist.
bool require_matching_file = 6;
Type | Description |
boolean | The requireMatchingFile. |
getUploadPathRegex()
public abstract String getUploadPathRegex()
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
Type | Description |
String | The uploadPathRegex. |
getUploadPathRegexBytes()
public abstract ByteString getUploadPathRegexBytes()
Regular expression that matches the file paths for all files that should be referenced by this handler.
string upload_path_regex = 2;
Type | Description |
ByteString | The bytes for uploadPathRegex. |
hasExpiration()
public abstract boolean hasExpiration()
Time a static file served by this handler should be cached by web proxies and browsers.
.google.protobuf.Duration expiration = 5;
Type | Description |
boolean | Whether the expiration field is set. |