public class HttpPostRequest extends AbstractHttpRequest
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
method |
auth, CONNECT_TIMEOUT, DEFAULT_ENCODING, lastHttpStatusCode, lastResponseStream, READ_TIMEOUT, url, USER_AGENT| 构造器和说明 |
|---|
HttpPostRequest(String url) |
HttpPostRequest(String url,
Authentication auth) |
HttpPostRequest(String url,
Map<String,Serializable> fields) |
HttpPostRequest(String url,
Map<String,Serializable> fields,
Authentication auth) |
HttpPostRequest(String url,
Object object,
Authentication auth) |
HttpPostRequest(String url,
Object object,
Authentication auth,
Map<String,String> params) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected HttpURLConnection |
getConnection() |
doRequest, getResponseBody, getResponseCodeprotected String method
public HttpPostRequest(String url) throws SignitException
SignitExceptionpublic HttpPostRequest(String url, Authentication auth) throws SignitException
SignitExceptionpublic HttpPostRequest(String url, Map<String,Serializable> fields) throws SignitException
SignitExceptionpublic HttpPostRequest(String url, Map<String,Serializable> fields, Authentication auth) throws SignitException
SignitExceptionpublic HttpPostRequest(String url, Object object, Authentication auth) throws SignitException
SignitExceptionpublic HttpPostRequest(String url, Object object, Authentication auth, Map<String,String> params) throws SignitException
SignitExceptionprotected HttpURLConnection getConnection() throws SignitException, IOException
Copyright © 2024. All rights reserved.