com.google.apphosting.api
Class ApiProxy.ApiConfig
- java.lang.Object
-
- com.google.apphosting.api.ApiProxy.ApiConfig
-
- Enclosing class:
- ApiProxy
public static final class ApiProxy.ApiConfig extends java.lang.Object
ApiConfig
encapsulates one or more configuration parameters scoped to an individual API call.
-
-
Constructor Summary
Constructors Constructor and Description ApiConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(java.lang.Object o)
java.lang.Double
getDeadlineInSeconds()
Returns the number of seconds that the API call will be allowed to run, ornull
for the default deadline.int
hashCode()
void
setDeadlineInSeconds(java.lang.Double deadlineInSeconds)
Set the number of seconds that the API call will be allowed to run, ornull
for the default deadline.
-
-
-
Method Detail
-
getDeadlineInSeconds
public java.lang.Double getDeadlineInSeconds()
Returns the number of seconds that the API call will be allowed to run, ornull
for the default deadline.
-
setDeadlineInSeconds
public void setDeadlineInSeconds(java.lang.Double deadlineInSeconds)
Set the number of seconds that the API call will be allowed to run, ornull
for the default deadline.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-