Uses of Class
co.cask.common.http.HttpResponse

Packages that use HttpResponse
co.cask.common.http HTTP utilities for using HttpURLConnection
 

Uses of HttpResponse in co.cask.common.http
 

Subclasses of HttpResponse in co.cask.common.http
 class ObjectResponse<T>
          Convenient wrapper of HttpResponse that makes client code cleaner when dealing with java object that can be de-serialized from response body.
 

Methods in co.cask.common.http that return HttpResponse
static HttpResponse HttpRequests.execute(HttpRequest request)
          Executes an HTTP request with default request configuration.
static HttpResponse HttpRequests.execute(HttpRequest request, HttpRequestConfig requestConfig)
          Executes an HTTP request to the url provided.
 

Methods in co.cask.common.http with parameters of type HttpResponse
static
<T> ObjectResponse<T>
ObjectResponse.fromJsonBody(HttpResponse response, Class<T> typeOfObject)
           
static
<T> ObjectResponse<T>
ObjectResponse.fromJsonBody(HttpResponse response, Class<T> typeOfObject, com.google.gson.Gson gson)
           
static
<T> ObjectResponse<T>
ObjectResponse.fromJsonBody(HttpResponse response, Type typeOfObject)
           
static
<T> ObjectResponse<T>
ObjectResponse.fromJsonBody(HttpResponse response, Type typeOfObject, com.google.gson.Gson gson)
           
static
<T> ObjectResponse<T>
ObjectResponse.fromJsonBody(HttpResponse response, com.google.common.reflect.TypeToken<T> typeOfObject)
           
static
<T> ObjectResponse<T>
ObjectResponse.fromJsonBody(HttpResponse response, com.google.common.reflect.TypeToken<T> typeOfObject, com.google.gson.Gson gson)
           
 



Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.