Class ApiProxy.ApiConfig

java.lang.Object
com.google.apphosting.api.ApiProxy.ApiConfig
Enclosing class:
ApiProxy

public static final class ApiProxy.ApiConfig extends Object
ApiConfig encapsulates one or more configuration parameters scoped to an individual API call.
  • Constructor Details

    • ApiConfig

      public ApiConfig()
  • Method Details

    • getDeadlineInSeconds

      public Double getDeadlineInSeconds()
      Returns the number of seconds that the API call will be allowed to run, or null for the default deadline.
    • setDeadlineInSeconds

      public void setDeadlineInSeconds(Double deadlineInSeconds)
      Set the number of seconds that the API call will be allowed to run, or null for the default deadline.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object