Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
H
P
R
S
A
acceptGzip()
- Method in class com.jakewharton.apibuilder.
ApiService
Add the HTTP header denoting that we accept GZIP.
addRequestHeader(String, String)
- Method in class com.jakewharton.apibuilder.
ApiService
Add an HTTP request header.
API_URL_DELIMITER_END
- Static variable in class com.jakewharton.apibuilder.
ApiBuilder
Closing bracket of a field variable.
API_URL_DELIMITER_START
- Static variable in class com.jakewharton.apibuilder.
ApiBuilder
Opening bracket of a field variable.
ApiBuilder
- Class in
com.jakewharton.apibuilder
Quickly and efficiently assemble URLs which contain both in-URL fields and appended parameters.
ApiBuilder(String)
- Constructor for class com.jakewharton.apibuilder.
ApiBuilder
Creates a new API URL builder.
ApiException
- Exception in
com.jakewharton.apibuilder
Represents an exception which occured executing a remote API method.
ApiException(Throwable)
- Constructor for exception com.jakewharton.apibuilder.
ApiException
ApiException(String)
- Constructor for exception com.jakewharton.apibuilder.
ApiException
ApiService
- Class in
com.jakewharton.apibuilder
HTTP method execution.
ApiService()
- Constructor for class com.jakewharton.apibuilder.
ApiService
B
buildUrl()
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Build the URL.
buildUrl(boolean)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Build the URL.
C
closeConnection(HttpURLConnection)
- Static method in class com.jakewharton.apibuilder.
ApiService
Close the specified connection.
closeStream(InputStream)
- Static method in class com.jakewharton.apibuilder.
ApiService
Close the specified stream.
com.jakewharton.apibuilder
- package com.jakewharton.apibuilder
Classes which assist in marshalling the native builder methods to proper remote API calls and the resulting JSON to POJOs for RESTful APIs.
CONTENT_ENCODING
- Static variable in class com.jakewharton.apibuilder.
ApiService
convertStreamToString(InputStream)
- Static method in class com.jakewharton.apibuilder.
ApiService
Read an entire stream to end and assemble in a string.
E
encodeUrl(String)
- Static method in class com.jakewharton.apibuilder.
ApiBuilder
Encode URL content.
executeDelete(String)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute the URL using HTTP DELETE.
executeDelete(String, int)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute the URL using HTTP DELETE.
executeGet(String)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute the URL using HTTP GET.
executeGet(String, int)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute the URL using HTTP GET.
executeMethod(String, String, String, String, int)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute URL using the specified HTTP method name.
executePost(String, Map<String, String>)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute the URL using HTTP POST.
executePost(String, Map<String, String>, int)
- Method in class com.jakewharton.apibuilder.
ApiService
Execute the URL using HTTP POST
F
field(String)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add an empty URL field value.
field(String, String)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL field value.
field(String, int)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL field value.
field(String, boolean)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL field value.
field(String, String, boolean)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL field value.
G
getConnectTimeout()
- Method in class com.jakewharton.apibuilder.
ApiService
Get connection timeout value.
getParametersString(Map<String, String>)
- Static method in class com.jakewharton.apibuilder.
ApiService
Assemble a parameter string from a mapping.
getReadTimeout()
- Method in class com.jakewharton.apibuilder.
ApiService
Get read timeout value.
getWrappedInputStream(InputStream, boolean)
- Static method in class com.jakewharton.apibuilder.
ApiService
Properly wrap the stream accounting for GZIP.
H
hasField(String)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Test if a field key already exists.
hasParameter(String)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Test if a parameter key already exists.
P
parameter(String, String)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL parameter value.
parameter(String, String, boolean)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL parameter value.
parameter(String, int)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL parameter value.
parameter(String, boolean)
- Method in class com.jakewharton.apibuilder.
ApiBuilder
Add a URL parameter value.
R
removeRequestHeader(String)
- Method in class com.jakewharton.apibuilder.
ApiService
Remove an HTTP request header.
S
setConnectTimeout(int)
- Method in class com.jakewharton.apibuilder.
ApiService
Set the connection timeout value.
setReadTimeout(int)
- Method in class com.jakewharton.apibuilder.
ApiService
Set read timeout value.
A
B
C
E
F
G
H
P
R
S
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011
Jake Wharton
. All Rights Reserved.