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.ObjectApiConfigencapsulates 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 booleanequals(java.lang.Object o)java.lang.DoublegetDeadlineInSeconds()Returns the number of seconds that the API call will be allowed to run, ornullfor the default deadline.inthashCode()voidsetDeadlineInSeconds(java.lang.Double deadlineInSeconds)Set the number of seconds that the API call will be allowed to run, ornullfor 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, ornullfor 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, ornullfor the default deadline.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-