Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.koushikdutta.ion.builder;
 
 
Created by koush on 3/10/14.
public interface GsonFutureBuilder {
    
Execute the request and get the result as a (Gson) JsonArray

Returns:
    public ResponseFuture<JsonArrayasJsonArray();

    
Execute the request and get the result as a (Gson) JsonObject

Returns:
    public ResponseFuture<JsonObjectasJsonObject();

    
Execute the request and get the result as a (Gson) JsonArray

Parameters:
charset Decode using the specified charset
Returns:
    public ResponseFuture<JsonArrayasJsonArray(Charset charset);

    
Execute the request and get the result as a (Gson) JsonObject

Parameters:
charset Decode using the specified charset
Returns:
    public ResponseFuture<JsonObjectasJsonObject(Charset charset);

    
Deserialize the JSON request into a Java object of the given class using Gson.

Parameters:
<T>
Returns:
    public <T> ResponseFuture<T> as(Class<T> clazz);

    
Deserialize the JSON request into a Java object of the given class using Gson.

Parameters:
token
<T>
Returns:
    public <T> ResponseFuture<T> as(TypeToken<T> token);
New to GrepCode? Check out our FAQ X