public class RequestBodyConverter
extends Object
-
Method Summary
static <T> T
static <T> T
bodyJson(Request request,
com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> ofType)
Get the body of a request as an url-encoded form.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
formBody
Get the body of a request as an url-encoded form.
- Returns:
URIQuery
.
-
bodyJson
public static <T> T bodyJson(Request request,
com.google.gson.Gson gson,
Class<T> ofType)
-
bodyJson
public static <T> T bodyJson(Request request,
com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> ofType)