T
which delegates to call
.Call
.Retrofit
instance using the configured values.CallAdapter
instances based on the return type of the service interface methods.Call
instances.Converter
instances based on a type and target usage.service
interface.callback
of its response or if an error
occurred talking to the server, creating the request, or processing the response.code
and body
as the error body.rawResponse
with body
as the error body.returnType
, or null if it
cannot be handled by this factory.index
from type
.index
from type
.type
.type
.Map
or Headers
.value
.Call.cancel()
was called.Response.code()
is in the range [200..300).Converter
for converting type
to an HTTP request body, or null if
type
cannot be handled by this factory.Converter
for converting an HTTP response body to type
, or null if
type
cannot be handled by this factory.Retrofit
.Call<BodyType>
return type to not use the
callback executor for invoking the
onResponse
or
onFailure
methods.ResponseBody
as is,
i.e.body
as the deserialized body.code
and
body
as the deserialized body.headers
with body
as the
deserialized body.rawResponse
with body
as the deserialized
body.Retrofit.create(java.lang.Class<T>)
on the resulting Retrofit
instance, eagerly validate
the configuration of all methods in the supplied interface.Copyright © 2020 Square, Inc.. All rights reserved.