|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractHttpContent.AbstractHttpContent(String)
instead.
HttpRequest.setParser(ObjectParser)
instead.
"application/x-protobuffer"
content type.
ApacheHttpTransport.newDefaultHttpClient()
for the Apache HTTP client.
GenericUrl.pathParts
, setting field only if it
is null
or empty.
XmlObjectParser
instead.Base64
implementation.ExponentialBackOffPolicy
.
GenericUrl.pathParts
and the query parameters specified by this generic URL.
JsonHttpClient
.
JsonHttpParser
.
ProtoHttpParser
.
UrlEncodedParser
.
XmlHttpParser
.
MockHttpTransport
.
DELETE
request for the given URL.
DELETE
request.
GET
request for the given URL.
GET
request.
HEAD
request for the given URL.
HEAD
request.
HttpRequest
suitable for use against this service.
HttpRequest
suitable for use against this service.
GenericUrl
suitable for use against this service.
PATCH
request for the given URL and content.
PATCH
request.
POST
request for the given URL and content.
POST
request.
PUT
request for the given URL and content.
PUT
request.
AbstractInputStreamContent
that generates repeatable input
streams based on the contents of byte array.CharEscaper
s, and some commonly used CharEscaper
instances.CONTENT_TYPE
.
java.net
package."application/x-www-form-urlencoded"
content type.
"application/xml"
content type.
Json.MEDIA_TYPE
instead.
"application/x-protobuf"
content type.
MEDIA_TYPE
instead.
JsonFactory.createJsonGenerator(OutputStream, Charset)
instead.
JsonHttpClient.Builder.setObjectParser(JsonObjectParser)
instead.
System.currentTimeMillis()
.
Key
annotation.Object.clone()
.
LowLevelHttpResponse.disconnect()
.
HttpResponse
into the given destination output stream.
true
if the specified media type has both the same type and subtype, or
false
if they don't match or the media type is null
.
true
if the two specified media types have the same type and subtype, or if
both types are null
.
null
if this code point
does not need to be escaped.
HttpRequest
and then returns the content input stream of
HttpResponse
.
HttpResponse
.
HttpRequest
.
HttpRequest
.
HttpResponse
.
BackOffPolicy
that increases the back off period for each retry attempt
using a randomization function that grows exponentially.ExponentialBackOffPolicy
.AbstractInputStreamContent
that generates repeatable input
streams based on the contents of a file.MIME version header
to "1.0"
.
HttpHeaders
object into this HttpHeaders
object.
LowLevelHttpResponse
into this HttpHeaders
object.
JsonParser.parseAndClose(Class, CustomizeJsonParser)
.
JsonParser.parseAndClose(Class, CustomizeJsonParser)
.
JsonParser.parseAndClose(Class, CustomizeJsonParser)
.
StringUtils.getBytesUtf8(String)
)
of the given content string.
JsonParser.parse(Class, CustomizeJsonParser)
.
null
if there is no such mapping or if the
mapping value is null
.
"Accept"
header or null
for none.
"Accept-Encoding"
header or null
for none.
""
for the default namespace) for the given namespace
URI.
""
for
the default namespace) to namespace URI.
null
for none.
null
for none.
Types.isArray(Type)
.
"WWW-Authenticate"
header or null
for none.
"Authorization"
header or null
for none.
BackOffPolicy
to use between retry attempts or null
for none.
JsonHttpClient.Builder.getRootUrl()
and
JsonHttpClient.Builder.getServicePath()
instead.
"https://www.googleapis.com/tasks/v1/"
.
BigInteger
value of the current token.
"Cache-Control"
header or null
for none.
Charsets#UTF_8
if not specified.
null
if unset.
AbstractInputStreamContent.writeTo(java.io.OutputStream)
.
0
for an infinite
timeout.
null
for none.
null
for none.
UrlEncodedContent
(whose UrlEncodedContent.getData()
is an implementation of
Map
).
null
for none.
Charset
specified in the Content-Type of this response or the
"ISO-8859-1"
charset as a default.
"Content-Encoding"
header or null
for none.
null
for none.
"gzip"
) or null
for none.
"Content-Length"
header or null
for none.
0
for none.
HttpRequest.execute()
.
HttpResponse.getContent()
.
"Content-MD5"
header or null
for none.
"Content-Range"
header or null
for none.
"Content-Type"
header or null
for none.
null
for none.
null
for none.
null
for none.
null
for none.
null
for none.
null
for none.
"Cookie"
header or null
for none.
null
for array values or for root-level values.
null
for none (at start of input or
after end of input).
null
for none.
"Date"
header or null
for none.
BigDecimal
value of the current token.
ExponentialBackOffPolicy
instance is
created and is reset when ExponentialBackOffPolicy.reset()
is called.
"atom:entry"
.
null
, but subclasses may override.
"gzip"
) or null
for none.
"ETag"
header or null
for none.
"Expires"
header or null
for none.
null
for none.
FieldInfo.getName()
.
FieldInfo.getName()
.
null
for none.
"www.google.com"
.
null
for none.
null
for a notification and therefore not expect to receive a response.
"If-Match"
header or null
for none.
"If-Modified-Since"
header or null
for none.
"If-None-Match"
header or null
for none.
"If-Unmodified-Since"
header or null
for none.
-1
if there is no such key.
null
for none.
AbstractInputStreamContent
.
HttpRequest.execute()
(before executing the HTTP request) or null
for none.
Iterable
that is assignable from the given iterable type.
null
for none.
JsonHttpClient.getJsonObjectParser()
instead.
null
for none.
null
for none.
null
if out of bounds.
"Last-Modified"
header or null
for none.
null
for none.
AbstractHttpContent.computeLength()
once and caches it for future
invocations, but subclasses may override.
"Location"
header or null
for none.
Map
that is assignable from the given map type.
0
to avoid logging content).
null
if unspecified.
HttpMediaType
or null
if no
content-type was set.
"MIME-Version"
header or null
for none.
Key
annotation, or data key value associated with the enum constant with a Value
annotation
or null
for an enum constant with a NullValue
annotation.
null
member first) of
names
.
HttpUnsuccessfulResponseHandler
before being terminated or 0
to not retry
requests.
null
if not specified.
null
if not found.
null
for none.
HttpRequest.getParser()
instead.
ObjectParser
used to parse the response or null
for none.
HttpResponse.getRequest()
.
HttpRequest.getParser()
instead
'/'
or
null
for none.
-1
if undefined, for example 443
.
"Range"
header or null
for none.
Array.newInstance(Class, int)
-- for the given component type.
ParameterizedType.getRawType()
.
GenericUrl.pathParts
.
0
for an infinite timeout.
null
for none.
MockLowLevelHttpRequest.execute()
.
"Retry-After"
header or null
for none.
IOException
is encountered in
LowLevelHttpRequest.execute()
.
https://www.googleapis.com/
.
https://www.googleapis.com/
.
"https"
.
"tasks/v1/"
.
"tasks/v1/"
.
0
for none.
0
for none.
0
for none.
null
for none.
null
for none.
null
for none.
"plain"
when using "text"
.
null
if
JsonParser.getCurrentToken()
is null
.
HttpRequest.execute()
on an HTTP error code
(non-2XX) after all retries and response handlers have been exhausted.
null
for local time zone.
null
for none.
"text"
, or null
for '*'.
UnsignedInteger
value of the current token.
UnsignedLong
value of the current token.
null
for none.
""
for the default
namespace).
""
for the default namespace).
null
for none.
"User-Agent"
header or null
for none.
null
if out of bounds.
"2.0"
.
HttpRequest.execute()
before
executing the HTTP request.HttpMediaType
by setting the specified media type.
HttpMediaType
by parsing the specified media type string.
ObjectParser
instead.HTTP request initializer
for initializing requests.HttpResponse.getContent()
, ignoring any content.
JsonHttpRequest
using a JsonHttpRequestInitializer
.
JsonHttpRequest
.
AbstractInputStreamContent
that simply handles the transfer of
data from an input stream to an output stream.HttpRequest.execute()
before executing the HTTP request.
JsonHttpClient.Builder.getRootUrl()
and
JsonHttpClient.Builder.getServicePath()
instead.
JsonHttpClient.getRootUrl()
and
JsonHttpClient.getServicePath()
instead.
MockHttpUnsuccessfulResponseHandler.handleResponse(com.google.api.client.http.HttpRequest, com.google.api.client.http.HttpResponse, boolean)
method was called or not.
true
for an Atom entry or false
for an Atom feed.
Data.isPrimitive(Type)
.
>= 200 and < 300
.
>= 200 && < 300
(see
HttpResponse.getStatusCode()
).
>= 200 && < 300
(see
HttpResponseException.getStatusCode()
).
null
or its class is primitive as defined by
Data.isPrimitive(Type)
.
JsonHttpClient.JsonHttpClient(HttpTransport,
JsonFactory, String, String, HttpRequestInitializer)
.
JsonHttpClient.JsonHttpClient(HttpTransport,
JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser,
String, String, String)
.
JsonHttpClient.JsonHttpClient(HttpTransport,
JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser,
String, String, String)
.
JsonHttpClient
.
JsonHttpClient
.#Builder(HttpTransport, JsonFactory,
String, String, HttpRequestInitializer)
instead.
JsonObjectParser
instead.JsonHttpParser
.JsonHttpClient
.JsonHttpRequest
.
LoggingByteArrayOutputStream
.LoggingByteArrayOutputStream
."application/json; charset=utf-8"
media type used as a default for JSON parsing.
"application/atom+xml; charset=utf-8"
media type used as a default for Atom parsing.
"application/xml; charset=utf-8"
media type used as a default for XML parsing.
HttpContent
.HttpTransport
.MockHttpTransport
.HttpUnsuccessfulResponseHandler
.MockHttpUnsuccessfulResponseHandler
.
LowLevelHttpRequest
.LowLevelHttpResponse
."atom:entry"
-- or null
if not set.
null
if not set.
java.net
package.ApacheHttpTransport.ApacheHttpTransport()
constructor.
null
for the default behavior.
null
for the default behavior.
String
by decoding the specified array of bytes using the UTF-8
charset.
CharSequence
, returning the index of
the next character that requires escaping.
null
to indicate end of input.
HttpMediaType.equalsIgnoreParameters(HttpMediaType)
instead
BigDecimal
.
BigInteger
.
Boolean
.
Byte
.
Character
.
DateTime
.
Double
.
Float
.
Integer
.
Long
.
Short
.
String
.
UnsignedInteger
.
UnsignedLong
.
Data.nullOf(Class)
.JsonParser.parse(Class, CustomizeJsonParser)
, and then closes the parser.
HttpResponse.getContent()
and reads it into a data
class of key/value pairs using the parser returned by HttpResponse.getParser()
.
HttpResponse.getContent()
and reads it into a data
type of key/value pairs using the parser returned by HttpResponse.getParser()
.
HttpResponse.getContent()
and reads it into a string.
UnicodeEscaper
that escapes some set of Java characters using the URI percent encoding
scheme.ProtoObjectParser
instead.ProtoHttpParser
.Object.class
if the type variable cannot be
resolved.
true
, but subclasses may override.
URLEncoder
.
value
is null
it does no
serialization.
Writer
for Multi-part requests.
null
) for the given field name.
"Accept"
header or null
for none.
"Accept-Encoding"
header or null
for none.
null
for none.
"WWW-Authenticate"
header or null
for none.
"Authorization"
header or null
for none.
BackOffPolicy
to use between retry attempts or null
for none.
JsonHttpClient.Builder.setRootUrl(java.lang.String)
and
JsonHttpClient.Builder.setServicePath(java.lang.String)
instead.
HttpHeaders.authorization
header as specified in Basic Authentication Scheme.
"Cache-Control"
header or null
for none.
AbstractInputStreamContent.writeTo(java.io.OutputStream)
.
0
for an infinite
timeout.
null
for none.
null
for none.
"Content-Encoding"
header or null
for none.
null
for none.
"Content-Length"
header or null
for none.
-1
for unknown.
HttpRequest.execute()
.
HttpResponse.getContent()
.
"Content-MD5"
header or null
for none.
"Content-Range"
header or null
for none.
"Content-Type"
header or null
for none.
null
for none.
"Cookie"
header or null
for none.
"Date"
header or null
for none.
"gzip"
) or null
for none.
null
for none.
"ETag"
header or null
for none.
"Expires"
header or null
for none.
null
for none.
null
for none.
"www.google.com"
.
null
for none.
null
for a notification and therefore not expect to receive a response.
"If-Match"
header or null
for none.
"If-Modified-Since"
header or null
for none.
"If-None-Match"
header or null
for none.
"If-Unmodified-Since"
header or null
for none.
HttpRequest.execute()
(before
executing the HTTP request) or null
for none.
null
for none.
"Last-Modified"
header or null
for none.
-1
for unknown.
"Location"
header or null
for none.
null
if unspecified.
"MIME-Version"
header or null
for none.
HttpUnsuccessfulResponseHandler
before being terminated or 0
to not retry
requests.
null
if no used.
null
for none.
ObjectParser
used to parse the response to this request or null
for
none.
'/'
or
null
for none.
-1
if undefined, for example 443
.
"Range"
header or null
for none.
GenericUrl.pathParts
from the given raw encoded path.
0
for
an infinite timeout.
null
for none.
MockLowLevelHttpRequest.execute()
.
"Retry-After"
header or null
for none.
IOException
is encountered in
LowLevelHttpRequest.execute()
.
https://www.googleapis.com/
.
"https"
.
"tasks/v1/"
.
"plain"
when using "text"
.
HttpRequest.execute()
on a HTTP error code
(non-2XX) after all retries and response handlers have been exhausted.
null
for none.
"text"
.
JsonHttpContent.setMediaType(HttpMediaType)
instead.
null
for none.
UrlEncodedContent.setMediaType(HttpMediaType)
instead.
AbstractXmlHttpContent.setMediaType(HttpMediaType)
instead.
AtomContent.setMediaType(HttpMediaType)
instead.
XmlHttpContent.setMediaType(HttpMediaType)
instead.
null
for none.
null
for none.
null
for none.
"User-Agent"
header or null
for none.
HttpTesting.SIMPLE_URL
.
"http://google.com/"
.
JsonToken.END_ARRAY
if current token is
JsonToken.START_ARRAY
, the matching JsonToken.END_OBJECT
if the current token
is JsonToken.START_OBJECT
, else does nothing.
BackOffPolicy.getNextBackOffMillis()
.
HEAD
request method.
PATCH
request method.
System.currentTimeMillis()
.
JsonGenerator.serialize(Object)
.
GenericJson.toString()
if
GenericJson.getFactory()
is null
.
JsonGenerator.serialize(Object)
with JsonGenerator.enablePrettyPrint()
.
JsonGenerator.serialize(Object)
.
Escaper
that converts literal text into a format safe for inclusion in a particular
context (such as an XML document).application/x-www-form-urlencoded
as specified in the HTML 4.0 Specification.data
parameter could be null
but now
null
is not allowed and instead a new instance of an implementation of Map
will
be created.
application/x-www-form-urlencoded
as specified in the HTML 4.0
Specification.UrlEncodedParser.CONTENT_TYPE
as the content type.
HttpParser
has been replaced by
ObjectParser
XmlObjectParser
instead.XmlHttpParser
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |