com.foxinmy.weixin4j.http
Class HttpRequest
java.lang.Object
com.foxinmy.weixin4j.http.HttpRequest
- All Implemented Interfaces:
- HttpMessage
public class HttpRequest
- extends Object
- implements HttpMessage
HTTP 请求
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
HttpRequest
public HttpRequest(HttpMethod method,
URI uri)
HttpRequest
public HttpRequest(HttpMethod method,
String url)
getMethod
public HttpMethod getMethod()
getURI
public URI getURI()
getEntity
public HttpEntity getEntity()
setEntity
public void setEntity(HttpEntity entity)
setHeaders
public void setHeaders(HttpHeaders headers)
getHeaders
public HttpHeaders getHeaders()
- Description copied from interface:
HttpMessage
- HTTP报头
- Specified by:
getHeaders in interface HttpMessage
- Returns:
Copyright © 2014–2017. All rights reserved.