跳过导航链接
A B C D E F G H I M N O P Q R S T U V 

A

adapt(Call<R>) - 接口 中的方法retrofit2.CallAdapter
Returns an instance of T which delegates to call.
addCallAdapterFactory(CallAdapter.Factory) - 类 中的方法retrofit2.Retrofit.Builder
Add a call adapter factory for supporting service method return types other than Call.
addConverterFactory(Converter.Factory) - 类 中的方法retrofit2.Retrofit.Builder
Add converter factory for serialization and deserialization of objects.
arguments() - 类 中的方法retrofit2.Invocation
 

B

baseUrl() - 类 中的方法retrofit2.Retrofit
The API base URL.
baseUrl(URL) - 类 中的方法retrofit2.Retrofit.Builder
Set the API base URL.
baseUrl(String) - 类 中的方法retrofit2.Retrofit.Builder
Set the API base URL.
baseUrl(HttpUrl) - 类 中的方法retrofit2.Retrofit.Builder
Set the API base URL.
Body - retrofit2.http中的注释类型
Use this annotation on a service method param when you want to directly control the request body of a POST/PUT request (instead of sending in as request parameters or form-style request body).
body() - 类 中的方法retrofit2.Response
The deserialized response body of a successful response.
build() - 类 中的方法retrofit2.Retrofit.Builder
Create the Retrofit instance using the configured values.
Builder() - 类 的构造器retrofit2.Retrofit.Builder
 

C

Call<T> - retrofit2中的接口
An invocation of a Retrofit method that sends a request to a webserver and returns a response.
CallAdapter<R,T> - retrofit2中的接口
Adapts a Call with response type R into the type of T.
callAdapter(Type, Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns the CallAdapter for returnType from the available factories.
CallAdapter.Factory - retrofit2中的类
Creates CallAdapter instances based on the return type of the service interface methods.
callAdapterFactories() - 类 中的方法retrofit2.Retrofit.Builder
Returns a modifiable list of call adapter factories.
callAdapterFactories() - 类 中的方法retrofit2.Retrofit
Returns a list of the factories tried when creating a Retrofit.callAdapter(Type, Annotation[]) call adapter}.
Callback<T> - retrofit2中的接口
Communicates responses from a server or offline requests.
callbackExecutor(Executor) - 类 中的方法retrofit2.Retrofit.Builder
The executor on which Callback methods are invoked when returning Call from your service method.
callbackExecutor() - 类 中的方法retrofit2.Retrofit
The executor used for Callback methods on a Call.
callFactory(Call.Factory) - 类 中的方法retrofit2.Retrofit.Builder
Specify a custom call factory for creating Call instances.
callFactory() - 类 中的方法retrofit2.Retrofit
The factory used to create OkHttp calls for sending a HTTP requests.
cancel() - 接口 中的方法retrofit2.Call
Cancel this call.
client(OkHttpClient) - 类 中的方法retrofit2.Retrofit.Builder
The HTTP client used for requests.
clone() - 接口 中的方法retrofit2.Call
Create a new, identical call to this one which can be enqueued or executed even if this call has already been.
code() - 异常错误 中的方法retrofit2.HttpException
HTTP status code.
code() - 类 中的方法retrofit2.Response
HTTP status code.
convert(F) - 接口 中的方法retrofit2.Converter
 
Converter<F,T> - retrofit2中的接口
Convert objects to and from their representation in HTTP.
Converter.Factory - retrofit2中的类
Creates Converter instances based on a type and target usage.
converterFactories() - 类 中的方法retrofit2.Retrofit.Builder
Returns a modifiable list of converter factories.
converterFactories() - 类 中的方法retrofit2.Retrofit
Returns an unmodifiable list of the factories tried when creating a request body converter, a response body converter, or a string converter.
create(Class<T>) - 类 中的方法retrofit2.Retrofit
Create an implementation of the API endpoints defined by the service interface.

D

DELETE - retrofit2.http中的注释类型
Make a DELETE request.

E

enqueue(Callback<T>) - 接口 中的方法retrofit2.Call
Asynchronously send the request and notify callback of its response or if an error occurred talking to the server, creating the request, or processing the response.
enqueue(Callback<T>, CacheControl) - 接口 中的方法retrofit2.Call
Asynchronously send the request with custom CacheControl and notify callback of its response or if an error occurred talking to the server, creating the request, or processing the response.
error(int, ResponseBody) - 类 中的静态方法retrofit2.Response
Create a synthetic error response with an HTTP status code of code and body as the error body.
error(ResponseBody, Response) - 类 中的静态方法retrofit2.Response
Create an error response from rawResponse with body as the error body.
errorBody() - 类 中的方法retrofit2.Response
The raw response body of an unsuccessful response.
EverythingIsNonNull - retrofit2.internal中的注释类型
Extends ParametersAreNonnullByDefault to also apply to Method results and fields.
execute() - 接口 中的方法retrofit2.Call
Synchronously send the request and return its response.
execute(CacheControl) - 接口 中的方法retrofit2.Call
Synchronously send the request with custom CacheControl and return its response.

F

Factory() - 类 的构造器retrofit2.CallAdapter.Factory
 
Factory() - 类 的构造器retrofit2.Converter.Factory
 
Field - retrofit2.http中的注释类型
Named pair for a form-encoded request.
FieldMap - retrofit2.http中的注释类型
Named key/value pairs for a form-encoded request.
FormUrlEncoded - retrofit2.http中的注释类型
Denotes that the request body will use form URL encoding.

G

get(Type, Annotation[], Retrofit) - 类 中的方法retrofit2.CallAdapter.Factory
Returns a call adapter for interface methods that return returnType, or null if it cannot be handled by this factory.
GET - retrofit2.http中的注释类型
Make a GET request.
getHeaderParam(String) - 接口 中的方法retrofit2.ParamProvider
 
getParameterUpperBound(int, ParameterizedType) - 类 中的静态方法retrofit2.CallAdapter.Factory
Extract the upper bound of the generic parameter at index from type.
getParameterUpperBound(int, ParameterizedType) - 类 中的静态方法retrofit2.Converter.Factory
Extract the upper bound of the generic parameter at index from type.
getQueryParam(String) - 接口 中的方法retrofit2.ParamProvider
 
getRawType(Type) - 类 中的静态方法retrofit2.CallAdapter.Factory
Extract the raw class type from type.
getRawType(Type) - 类 中的静态方法retrofit2.Converter.Factory
Extract the raw class type from type.
getUrlParam(String) - 接口 中的方法retrofit2.ParamProvider
 

H

HEAD - retrofit2.http中的注释类型
Make a HEAD request.
Header - retrofit2.http中的注释类型
Replaces the header with the value of its target.
HeaderMap - retrofit2.http中的注释类型
Adds headers specified in the Map or Headers.
Headers - retrofit2.http中的注释类型
Adds headers literally supplied in the value.
headers() - 类 中的方法retrofit2.Response
HTTP headers.
HTTP - retrofit2.http中的注释类型
Use a custom HTTP verb for a request.
HttpException - retrofit2中的异常错误
Exception for an unexpected, non-2xx HTTP response.
HttpException(Response<?>) - 异常错误 的构造器retrofit2.HttpException
 

I

Invocation - retrofit2中的类
A single invocation of a Retrofit service interface method.
isCanceled() - 接口 中的方法retrofit2.Call
True if Call.cancel() was called.
isExecuted() - 接口 中的方法retrofit2.Call
Returns true if this call has been either executed or enqueued.
isSuccessful() - 类 中的方法retrofit2.Response
Returns true if Response.code() is in the range [200..300).

M

message() - 异常错误 中的方法retrofit2.HttpException
HTTP status message.
message() - 类 中的方法retrofit2.Response
HTTP status message or null if unknown.
method() - 类 中的方法retrofit2.Invocation
 
Multipart - retrofit2.http中的注释类型
Denotes that the request body is multi-part.

N

newBuilder() - 类 中的方法retrofit2.Retrofit
 
nextCallAdapter(CallAdapter.Factory, Type, Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns the CallAdapter for returnType from the available factories except skipPast.
nextRequestBodyConverter(Converter.Factory, Type, Annotation[], Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns a Converter for type to RequestBody from the available factories except skipPast.
nextResponseBodyConverter(Converter.Factory, Type, Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns a Converter for ResponseBody to type from the available factories except skipPast.

O

of(Method, List<?>) - 类 中的静态方法retrofit2.Invocation
 
onFailure(Call<T>, Throwable) - 接口 中的方法retrofit2.Callback
Invoked when a network exception occurred talking to the server or when an unexpected exception occurred creating the request or processing the response.
onResponse(Call<T>, Response<T>) - 接口 中的方法retrofit2.Callback
Invoked for a received HTTP response.
OPTIONS - retrofit2.http中的注释类型
Make an OPTIONS request.

P

Param - retrofit2.http中的注释类型
Named replacement in the Headers/ParamQuerys ,Values are converted to string using String.valueOf(Object) and URL encoded.
ParamHeaders - retrofit2.http中的注释类型
Adds headers literally supplied in the value.
ParamProvider - retrofit2中的接口
Created by ZhangZhenli on 2015/11/25.
ParamQuerys - retrofit2.http中的注释类型
Created by ZhangZhenli on 2015/11/25.
ParamUrl - retrofit2.http中的注释类型
Created by ZhangZhenli on 2015/11/27.
Part - retrofit2.http中的注释类型
Denotes a single part of a multi-part request.
PartMap - retrofit2.http中的注释类型
Denotes name and value parts of a multi-part request.
PATCH - retrofit2.http中的注释类型
Make a PATCH request.
Path - retrofit2.http中的注释类型
Named replacement in a URL path segment.
POST - retrofit2.http中的注释类型
Make a POST request.
PUT - retrofit2.http中的注释类型
Make a PUT request.

Q

Query - retrofit2.http中的注释类型
Query parameter appended to the URL.
QueryMap - retrofit2.http中的注释类型
Query parameter keys and values appended to the URL.
QueryName - retrofit2.http中的注释类型
Query parameter appended to the URL that has no value.

R

raw() - 类 中的方法retrofit2.Response
The raw response from the HTTP client.
request() - 接口 中的方法retrofit2.Call
The original HTTP request.
requestBodyConverter(Type, Annotation[], Annotation[], Retrofit) - 类 中的方法retrofit2.Converter.Factory
Returns a Converter for converting type to an HTTP request body, or null if type cannot be handled by this factory.
requestBodyConverter(Type, Annotation[], Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns a Converter for type to RequestBody from the available factories.
response() - 异常错误 中的方法retrofit2.HttpException
The full HTTP response.
Response<T> - retrofit2中的类
An HTTP response.
responseBodyConverter(Type, Annotation[], Retrofit) - 类 中的方法retrofit2.Converter.Factory
Returns a Converter for converting an HTTP response body to type, or null if type cannot be handled by this factory.
responseBodyConverter(Type, Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns a Converter for ResponseBody to type from the available factories.
responseType() - 接口 中的方法retrofit2.CallAdapter
Returns the value type that this adapter uses when converting the HTTP response body to a Java object.
Retrofit - retrofit2中的类
Retrofit adapts a Java interface to HTTP calls by using annotations on the declared methods to define how requests are made.
Retrofit.Builder - retrofit2中的类
Build a new Retrofit.
retrofit2 - 程序包 retrofit2
Retrofit turns your REST API into a Java interface.
retrofit2.http - 程序包 retrofit2.http
Annotations for interface methods to control the HTTP request behavior.
retrofit2.internal - 程序包 retrofit2.internal
 

S

ServiceParser - retrofit2中的类
解析类的ParamHeaders,ParamQuerys,ParamUrl注解.
ServiceParser() - 类 的构造器retrofit2.ServiceParser
 
setParamProvider(ParamProvider) - 类 中的方法retrofit2.Retrofit.Builder
Add Common Param Provider.
SkipCallbackExecutor - retrofit2中的注释类型
Change the behavior of a Call<BodyType> return type to not use the callback executor for invoking the onResponse or onFailure methods.
Streaming - retrofit2.http中的注释类型
Treat the response body on methods returning ResponseBody as is, i.e.
stringConverter(Type, Annotation[], Retrofit) - 类 中的方法retrofit2.Converter.Factory
Returns a Converter for converting type to a String, or null if type cannot be handled by this factory.
stringConverter(Type, Annotation[]) - 类 中的方法retrofit2.Retrofit
Returns a Converter for type to String from the available factories.
success(T) - 类 中的静态方法retrofit2.Response
Create a synthetic successful response with body as the deserialized body.
success(int, T) - 类 中的静态方法retrofit2.Response
Create a synthetic successful response with an HTTP status code of code and body as the deserialized body.
success(T, Headers) - 类 中的静态方法retrofit2.Response
Create a synthetic successful response using headers with body as the deserialized body.
success(T, Response) - 类 中的静态方法retrofit2.Response
Create a successful response from rawResponse with body as the deserialized body.

T

Tag - retrofit2.http中的注释类型
Adds the argument instance as a request tag using the type as the key.
timeout() - 接口 中的方法retrofit2.Call
Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request body, server processing, and reading the response body.
toString() - 类 中的方法retrofit2.Invocation
 
toString() - 类 中的方法retrofit2.Response
 

U

Url - retrofit2.http中的注释类型
URL resolved against the base URL.

V

validateEagerly(boolean) - 类 中的方法retrofit2.Retrofit.Builder
When calling Retrofit.create(java.lang.Class<T>) on the resulting Retrofit instance, eagerly validate the configuration of all methods in the supplied interface.
A B C D E F G H I M N O P Q R S T U V 
跳过导航链接