KintoClient.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:kinto-http-java 作者:
/**
 * {@link KintoClient} constructor that allows to specify a remote kinto installation, default headers and an
 * {@link ObjectMapper} that will allow unmarshalling of responses as objects (that must be properly annotated
 * with jackson annotations).
 * @param remote The remote URL. Must contain the version
 * @param headers Custom http headers added to each requests
 * @param objectMapper Custom object mapper
 * @throws IllegalArgumentException if remote is null or an empty String or if headers is null
 */
public KintoClient(String remote, Map<String, String> headers, ObjectMapper objectMapper) {
    this(remote, headers);
    Unirest.setObjectMapper(objectMapper);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号