protected final RequestSpec spec;
protected final UrlParamsExtractor urlParamsExtractor;
public RequestReceiver(GsonBuilder gsonBuilder, RequestSpec spec) {
this.gson = gsonBuilder
.registerTypeAdapterFactory(new RequestBodyGsonTypeAdapterFactory(spec.getBodySpec()))
.create();
this.spec = spec;
this.urlParamsExtractor = new UrlParamsExtractor(spec.getUrlParamsSpec(), gson);
}