public interface HttpClient
| Modifier and Type | Method and Description |
|---|---|
<T> HttpResponse<T> |
doGet(HttpRequest httpRequest,
Class<T> responseType)
Do get operation for the http request.
|
<T> HttpResponse<T> |
doGet(HttpRequest httpRequest,
Type responseType)
Do get operation for the http request.
|
<T> HttpResponse<T> doGet(HttpRequest httpRequest, Class<T> responseType) throws ApolloConfigException
httpRequest - the requestresponseType - the response typeApolloConfigException - if any error happened or response code is neither 200 nor 304<T> HttpResponse<T> doGet(HttpRequest httpRequest, Type responseType) throws ApolloConfigException
httpRequest - the requestresponseType - the response typeApolloConfigException - if any error happened or response code is neither 200 nor 304Copyright © 2022 Ctrip, Inc.. All rights reserved.