Class HttpJsonCallContext

  • All Implemented Interfaces:
    RetryingContext, ApiCallContext

    @BetaApi("Reference ApiCallContext instead - this class is likely to experience breaking changes")
    public final class HttpJsonCallContext
    extends Object
    implements ApiCallContext
    HttpJsonCallContext encapsulates context data used to make an http-json call.

    HttpJsonCallContext is immutable in the sense that none of its methods modifies the HttpJsonCallContext itself or the underlying data. Methods of the form withX return copies of the object, but with one field changed. The immutability and thread safety of the arguments solely depends on the arguments themselves.