| Package | Description |
|---|---|
| com.google.api.services.appengine.v1.model |
| Modifier and Type | Method and Description |
|---|---|
StaticFilesHandler |
StaticFilesHandler.clone() |
StaticFilesHandler |
UrlMap.getStaticFiles()
Returns the contents of a file, such as an image, as the response.
|
StaticFilesHandler |
StaticFilesHandler.set(String fieldName,
Object value) |
StaticFilesHandler |
StaticFilesHandler.setApplicationReadable(Boolean applicationReadable)
Whether files should also be uploaded as code data.
|
StaticFilesHandler |
StaticFilesHandler.setExpiration(String expiration)
Time a static file served by this handler should be cached by web proxies and browsers.
|
StaticFilesHandler |
StaticFilesHandler.setHttpHeaders(Map<String,String> httpHeaders)
HTTP headers to use for all responses from these URLs.
|
StaticFilesHandler |
StaticFilesHandler.setMimeType(String mimeType)
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.
|
StaticFilesHandler |
StaticFilesHandler.setPath(String path)
Path to the static files matched by the URL pattern, from the application root directory.
|
StaticFilesHandler |
StaticFilesHandler.setRequireMatchingFile(Boolean requireMatchingFile)
Whether this handler should match the request if the file referenced by the handler does not
exist.
|
StaticFilesHandler |
StaticFilesHandler.setUploadPathRegex(String uploadPathRegex)
Regular expression that matches the file paths for all files that should be referenced by this
handler.
|
| Modifier and Type | Method and Description |
|---|---|
UrlMap |
UrlMap.setStaticFiles(StaticFilesHandler staticFiles)
Returns the contents of a file, such as an image, as the response.
|
Copyright © 2011–2024 Google. All rights reserved.