HttpRequest |
HttpRequestFactory.buildDeleteRequest(GenericUrl url) |
Builds a DELETE request for the given URL.
|
HttpRequest |
HttpRequestFactory.buildGetRequest(GenericUrl url) |
Builds a GET request for the given URL.
|
HttpRequest |
HttpRequestFactory.buildHeadRequest(GenericUrl url) |
Builds a HEAD request for the given URL.
|
HttpRequest |
HttpRequestFactory.buildPatchRequest(GenericUrl url,
HttpContent content) |
Builds a PATCH request for the given URL and content.
|
HttpRequest |
HttpRequestFactory.buildPostRequest(GenericUrl url,
HttpContent content) |
Builds a POST request for the given URL and content.
|
HttpRequest |
HttpRequestFactory.buildPutRequest(GenericUrl url,
HttpContent content) |
Builds a PUT request for the given URL and content.
|
HttpRequest |
HttpRequestFactory.buildRequest(java.lang.String requestMethod,
GenericUrl url,
HttpContent content) |
Builds a request for the given HTTP method, URL, and content.
|
(package private) HttpRequest |
HttpTransport.buildRequest() |
Builds a request without specifying the HTTP method.
|
HttpRequest |
HttpResponse.getRequest() |
Returns the HTTP request.
|
HttpRequest |
HttpRequest.setBackOffPolicy(BackOffPolicy backOffPolicy) |
Deprecated.
|
HttpRequest |
HttpRequest.setConnectTimeout(int connectTimeout) |
Sets the timeout in milliseconds to establish a connection or 0 for an infinite
timeout.
|
HttpRequest |
HttpRequest.setContent(HttpContent content) |
Sets the HTTP request content or null for none.
|
HttpRequest |
HttpRequest.setContentLoggingLimit(int contentLoggingLimit) |
Set the limit to the content size that will be logged during execute() .
|
HttpRequest |
HttpRequest.setCurlLoggingEnabled(boolean curlLoggingEnabled) |
Sets whether logging in form of curl commands should be enabled for this request.
|
HttpRequest |
HttpRequest.setEncoding(HttpEncoding encoding) |
Sets the HTTP content encoding or null for none.
|
HttpRequest |
HttpRequest.setFollowRedirects(boolean followRedirects) |
Sets whether to follow redirects automatically.
|
HttpRequest |
HttpRequest.setHeaders(HttpHeaders headers) |
Sets the HTTP request headers.
|
HttpRequest |
HttpRequest.setInterceptor(HttpExecuteInterceptor interceptor) |
Sets the HTTP request execute interceptor to intercept the start of execute() (before
executing the HTTP request) or null for none.
|
HttpRequest |
HttpRequest.setIOExceptionHandler(HttpIOExceptionHandler ioExceptionHandler) |
Beta
Sets the HTTP I/O exception handler or null for none.
|
HttpRequest |
HttpRequest.setLoggingEnabled(boolean loggingEnabled) |
Sets whether logging should be enabled for this request.
|
HttpRequest |
HttpRequest.setNumberOfRetries(int numRetries) |
Sets the number of retries that will be allowed to execute before the request will be
terminated or 0 to not retry requests.
|
HttpRequest |
HttpRequest.setParser(ObjectParser parser) |
Sets the ObjectParser used to parse the response to this request or null for
none.
|
HttpRequest |
HttpRequest.setReadTimeout(int readTimeout) |
Sets the timeout in milliseconds to read data from an established connection or 0 for
an infinite timeout.
|
HttpRequest |
HttpRequest.setRequestMethod(java.lang.String requestMethod) |
Sets the HTTP request method or null for none.
|
HttpRequest |
HttpRequest.setResponseHeaders(HttpHeaders responseHeaders) |
Sets the HTTP response headers.
|
HttpRequest |
HttpRequest.setResponseInterceptor(HttpResponseInterceptor responseInterceptor) |
Sets the HTTP response interceptor or null for none.
|
HttpRequest |
HttpRequest.setResponseReturnRawInputStream(boolean responseReturnRawInputStream) |
|
HttpRequest |
HttpRequest.setRetryOnExecuteIOException(boolean retryOnExecuteIOException) |
Deprecated.
|
HttpRequest |
HttpRequest.setSleeper(Sleeper sleeper) |
Sets the sleeper.
|
HttpRequest |
HttpRequest.setSuppressUserAgentSuffix(boolean suppressUserAgentSuffix) |
|
HttpRequest |
HttpRequest.setThrowExceptionOnExecuteError(boolean throwExceptionOnExecuteError) |
Sets whether to throw an exception at the end of execute() on a HTTP error code
(non-2XX) after all retries and response handlers have been exhausted.
|
HttpRequest |
HttpRequest.setUnsuccessfulResponseHandler(HttpUnsuccessfulResponseHandler unsuccessfulResponseHandler) |
Sets the HTTP unsuccessful (non-2XX) response handler or null for none.
|
HttpRequest |
HttpRequest.setUrl(GenericUrl url) |
Sets the HTTP request URL.
|
HttpRequest |
HttpRequest.setUseRawRedirectUrls(boolean useRawRedirectUrls) |
Sets whether to use raw redirect URLs.
|
HttpRequest |
HttpRequest.setWriteTimeout(int writeTimeout) |
Sets the timeout in milliseconds to send POST/PUT data or 0 for an infinite timeout.
|