public class Request extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
Request.METHOD |
public static Request create(String url, Request.METHOD method)
public static Request create(String url, Request.METHOD method, String paramsAsJson, Header header)
public static Request create(String url, Request.METHOD method, String paramsAsJson)
public static Request create(String url, Request.METHOD method, Map<String,Object> params, Header header)
public Request offEncode(boolean off)
public URL getUrl()
public String getURLEncodedParams()
public InputStream getInputStream()
public Request setInputStream(InputStream inputStream)
public byte[] getData()
public Request setData(byte[] data)
public Request.METHOD getMethod()
public boolean isGet()
public boolean isPost()
public boolean isDelete()
public boolean isPut()
public Request setMethod(Request.METHOD method)
public Header getHeader()
public Cookie getCookie()
public String getEnc()
Copyright © 2017. All rights reserved.