| Package | Description |
|---|---|
| me.hao0.common.http |
| Modifier and Type | Method and Description |
|---|---|
Http |
Http.accept(String accept) |
Http |
Http.body(String body)
请求body
|
Http |
Http.charset(String charset) |
Http |
Http.connTimeout(Integer connectTimeout)
set connect timeout
|
Http |
Http.contentType(String contentType) |
static Http |
Http.delete(String url) |
Http |
Http.encode(Boolean encode) |
static Http |
Http.get(String url) |
Http |
Http.headers(Map<String,String> headers) |
Http |
Http.params(Map<String,?> params) |
static Http |
Http.post(String url) |
static Http |
Http.put(String url) |
Http |
Http.readTimeout(Integer readTimeout)
set read timeout
|
Http |
Http.ssl() |
Copyright © 2018. All rights reserved.