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(java.lang.String fieldName,
java.lang.Object value) |
StaticFilesHandler |
StaticFilesHandler.setApplicationReadable(java.lang.Boolean applicationReadable)
Whether files should also be uploaded as code data.
|
StaticFilesHandler |
StaticFilesHandler.setExpiration(java.lang.String expiration)
Time a static file served by this handler should be cached by web proxies and browsers.
|
StaticFilesHandler |
StaticFilesHandler.setHttpHeaders(java.util.Map<java.lang.String,java.lang.String> httpHeaders)
HTTP headers to use for all responses from these URLs.
|
StaticFilesHandler |
StaticFilesHandler.setMimeType(java.lang.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(java.lang.String path)
Path to the static files matched by the URL pattern, from the application root directory.
|
StaticFilesHandler |
StaticFilesHandler.setRequireMatchingFile(java.lang.Boolean requireMatchingFile)
Whether this handler should match the request if the file referenced by the handler does not
exist.
|
StaticFilesHandler |
StaticFilesHandler.setUploadPathRegex(java.lang.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.
|