|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
JsonFactory
.AbstractJsonFactoryTest
AbstractJsonFactoryTest
"application/x-protobuffer"
content type.
ApacheHttpTransport.newDefaultHttpClient()
for the Apache HTTP client.
GenericUrl.pathParts
, setting field only if it
is null
or empty.
Base64
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.
JsonHttpClient.buildHttpRequest(HttpMethod, GenericUrl, Object)
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.HttpResponseException.computeMessageBuffer(HttpResponse)
"application/x-www-form-urlencoded"
content type.
"application/xml"
content type.
"application/json"
content type.
"application/x-protobuf"
content type.
Key
annotation.Base64.decodeBase64(byte[])
or
Base64.decodeBase64(String)
Object.clone()
.
LowLevelHttpResponse.disconnect()
.
Base64.encodeBase64(byte[])
or
Base64.encodeBase64String(byte[])
Base64.encode(byte[], int, int)
but returns a byte array instead of instantiating
a String.
null
if this code point
does not need to be escaped.
JsonHttpClient.executeUnparsed(com.google.api.client.http.HttpMethod, com.google.api.client.http.GenericUrl, java.lang.Object)
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"
.
StringUtils.newStringUtf8(byte[])
JsonParser.parseAndClose(Class, CustomizeJsonParser)
.
JsonParser.parseAndClose(Class, CustomizeJsonParser)
.
Strings.toBytesUtf8()
) 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.
"https://www.googleapis.com/tasks/v1/"
.
"https://www.googleapis.com/tasks/v1/"
.
BigInteger
value of the current token.
"Cache-Control"
header or null
for none.
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.
"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.
HttpRequest.getContentLoggingLimit()
HttpResponse.getContentLoggingLimit()
HttpResponse.getContentLoggingLimit()
HttpResponse.getContentLoggingLimit()
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.
null
for none.
null
for none.
null
if out of bounds.
"Last-Modified"
header or 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.
"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
for none.
null
if
none is defined.
null
for none.
'/'
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.
"Retry-After"
header or null
for none.
"https"
.
0
for none.
0
for none.
0
for none.
null
for none.
null
for none.
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.
null
for none.
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.HTTP request initializer
for initializing requests.HttpResponseException.computeMessage(HttpResponse)
for the detail message.
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.
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
.JsonHttpParser
.JsonHttpClient
.JsonHttpRequest
.
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.
CharSequence
, returning the index of
the next character that requires escaping.
null
to indicate end of input.
type "/" subtype"
as
specified in Media Types.
BigDecimal
.
BigInteger
.
Boolean
.
Byte
.
Character
.
DateTime
.
Double
.
Float
.
Integer
.
Long
.
Short
.
String
.
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 string.
UnicodeEscaper
that escapes some set of Java characters using the URI percent encoding
scheme.ProtoHttpParser
.Object.class
if the type variable cannot be
resolved.
true
, but subclasses may override.
URLEncoder
.
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.
"https://www.googleapis.com/tasks/v1/"
.
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.
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.
"Cookie"
header or null
for none.
"Date"
header or null
for none.
HttpRequest.setContentLoggingLimit(int)
HttpResponse.setContentLoggingLimit(int)
HttpResponse.setContentLoggingLimit(int)
"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.
"MIME-Version"
header or null
for none.
HttpUnsuccessfulResponseHandler
before being terminated or 0
to not retry
requests.
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.
"Retry-After"
header or null
for none.
"https"
.
HttpRequest.execute()
on a HTTP error code
(non-2XX) after all retries and response handlers have been exhausted.
null
for none.
null
for none.
null
for none.
null
for none.
null
for none.
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.
JsonGenerator.serialize(Object)
.
StringUtils.getBytesUtf8(String)
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.
HttpResponse.getContentLoggingLimit()
UrlEncodedParser
.XmlHttpParser
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |