public final class UrlMap
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the App Engine Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
UrlMap() |
Modifier and Type | Method and Description |
---|---|
UrlMap |
clone() |
ApiEndpointHandler |
getApiEndpoint()
Uses API Endpoints to handle requests.
|
java.lang.String |
getAuthFailAction()
Action to take when users access resources that require authentication.
|
java.lang.String |
getLogin()
Level of login required to access this resource.
|
java.lang.String |
getRedirectHttpResponseCode()
30x code to use when performing redirects for the secure field.
|
ScriptHandler |
getScript()
Executes a script to handle the requests that match this URL pattern.
|
java.lang.String |
getSecurityLevel()
Security (HTTPS) enforcement for this URL.
|
StaticFilesHandler |
getStaticFiles()
Returns the contents of a file, such as an image, as the response.
|
java.lang.String |
getUrlRegex()
URL prefix.
|
UrlMap |
set(java.lang.String fieldName,
java.lang.Object value) |
UrlMap |
setApiEndpoint(ApiEndpointHandler apiEndpoint)
Uses API Endpoints to handle requests.
|
UrlMap |
setAuthFailAction(java.lang.String authFailAction)
Action to take when users access resources that require authentication.
|
UrlMap |
setLogin(java.lang.String login)
Level of login required to access this resource.
|
UrlMap |
setRedirectHttpResponseCode(java.lang.String redirectHttpResponseCode)
30x code to use when performing redirects for the secure field.
|
UrlMap |
setScript(ScriptHandler script)
Executes a script to handle the requests that match this URL pattern.
|
UrlMap |
setSecurityLevel(java.lang.String securityLevel)
Security (HTTPS) enforcement for this URL.
|
UrlMap |
setStaticFiles(StaticFilesHandler staticFiles)
Returns the contents of a file, such as an image, as the response.
|
UrlMap |
setUrlRegex(java.lang.String urlRegex)
URL prefix.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ApiEndpointHandler getApiEndpoint()
null
for nonepublic UrlMap setApiEndpoint(ApiEndpointHandler apiEndpoint)
apiEndpoint
- apiEndpoint or null
for nonepublic java.lang.String getAuthFailAction()
null
for nonepublic UrlMap setAuthFailAction(java.lang.String authFailAction)
authFailAction
- authFailAction or null
for nonepublic java.lang.String getLogin()
null
for nonepublic UrlMap setLogin(java.lang.String login)
login
- login or null
for nonepublic java.lang.String getRedirectHttpResponseCode()
null
for nonepublic UrlMap setRedirectHttpResponseCode(java.lang.String redirectHttpResponseCode)
redirectHttpResponseCode
- redirectHttpResponseCode or null
for nonepublic ScriptHandler getScript()
null
for nonepublic UrlMap setScript(ScriptHandler script)
script
- script or null
for nonepublic java.lang.String getSecurityLevel()
null
for nonepublic UrlMap setSecurityLevel(java.lang.String securityLevel)
securityLevel
- securityLevel or null
for nonepublic StaticFilesHandler getStaticFiles()
null
for nonepublic UrlMap setStaticFiles(StaticFilesHandler staticFiles)
staticFiles
- staticFiles or null
for nonepublic java.lang.String getUrlRegex()
null
for nonepublic UrlMap setUrlRegex(java.lang.String urlRegex)
urlRegex
- urlRegex or null
for nonepublic UrlMap set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UrlMap clone()
clone
in class com.google.api.client.json.GenericJson