cn.signit.sdk.http
类 HttpPostRequest

java.lang.Object
  继承者 cn.signit.sdk.http.AbstractHttpRequest
      继承者 cn.signit.sdk.http.HttpPostRequest

public class HttpPostRequest
extends AbstractHttpRequest


字段摘要
protected  String method
           
 
从类 cn.signit.sdk.http.AbstractHttpRequest 继承的字段
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)
           
 
方法摘要
protected  HttpURLConnection getConnection()
           
 
从类 cn.signit.sdk.http.AbstractHttpRequest 继承的方法
doRequest, getResponseBody, getResponseCode
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

method

protected String method
构造方法详细信息

HttpPostRequest

public HttpPostRequest(String url)
                throws SignitException
抛出:
SignitException

HttpPostRequest

public HttpPostRequest(String url,
                       Authentication auth)
                throws SignitException
抛出:
SignitException

HttpPostRequest

public HttpPostRequest(String url,
                       Map<String,Serializable> fields)
                throws SignitException
抛出:
SignitException

HttpPostRequest

public HttpPostRequest(String url,
                       Map<String,Serializable> fields,
                       Authentication auth)
                throws SignitException
抛出:
SignitException

HttpPostRequest

public HttpPostRequest(String url,
                       Object object,
                       Authentication auth)
                throws SignitException
抛出:
SignitException
方法详细信息

getConnection

protected HttpURLConnection getConnection()
                                   throws SignitException,
                                          IOException
抛出:
SignitException
IOException


Copyright © 2019. All rights reserved.