Search in sources :

Example 1 with AmapClient

use of com.dtflys.test.http.client.AmapClient in project forest by dromara.

the class TestAmapClient method prepareClient.

// @BeforeClass
public static void prepareClient() {
    configuration = Forest.config();
    configuration.setJsonConverter(new ForestJacksonConverter());
    configuration.setCacheEnabled(false);
    amapClient = configuration.createInstance(AmapClient.class);
}
Also used : ForestJacksonConverter(com.dtflys.forest.converter.json.ForestJacksonConverter) AmapClient(com.dtflys.test.http.client.AmapClient)

Aggregations

ForestJacksonConverter (com.dtflys.forest.converter.json.ForestJacksonConverter)1 AmapClient (com.dtflys.test.http.client.AmapClient)1