Class JobAppEngineHttpTarget


  • public final class JobAppEngineHttpTarget
    extends java.lang.Object
    • Method Detail

      • body

        public java.util.Optional<java.lang.String> body()
        Returns:
        HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. A base64-encoded string.
      • headers

        public java.util.Map<java.lang.String,​java.lang.String> headers()
        Returns:
        HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created.
      • httpMethod

        public java.util.Optional<java.lang.String> httpMethod()
        Returns:
        Which HTTP method to use for the request.
      • relativeUri

        public java.lang.String relativeUri()
        Returns:
        The relative URI. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and \# fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters