public final class ErrorHandler
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 |
---|
ErrorHandler() |
Modifier and Type | Method and Description |
---|---|
ErrorHandler |
clone() |
java.lang.String |
getErrorCode()
Error condition this handler applies to.
|
java.lang.String |
getMimeType()
MIME type of file.
|
java.lang.String |
getStaticFile()
Static file content to be served for this error.
|
ErrorHandler |
set(java.lang.String fieldName,
java.lang.Object value) |
ErrorHandler |
setErrorCode(java.lang.String errorCode)
Error condition this handler applies to.
|
ErrorHandler |
setMimeType(java.lang.String mimeType)
MIME type of file.
|
ErrorHandler |
setStaticFile(java.lang.String staticFile)
Static file content to be served for this error.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getErrorCode()
null
for nonepublic ErrorHandler setErrorCode(java.lang.String errorCode)
errorCode
- errorCode or null
for nonepublic java.lang.String getMimeType()
null
for nonepublic ErrorHandler setMimeType(java.lang.String mimeType)
mimeType
- mimeType or null
for nonepublic java.lang.String getStaticFile()
null
for nonepublic ErrorHandler setStaticFile(java.lang.String staticFile)
staticFile
- staticFile or null
for nonepublic ErrorHandler set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ErrorHandler clone()
clone
in class com.google.api.client.json.GenericJson