Package com.hellosign.sdk.http
Class HttpDeleteRequest
- java.lang.Object
-
- com.hellosign.sdk.http.AbstractHttpRequest
-
- com.hellosign.sdk.http.HttpDeleteRequest
-
public class HttpDeleteRequest extends AbstractHttpRequest
-
-
Field Summary
-
Fields inherited from class com.hellosign.sdk.http.AbstractHttpRequest
auth, DEFAULT_ENCODING, lastHttpStatusCode, lastResponseStream, url, USER_AGENT
-
-
Constructor Summary
Constructors Constructor Description HttpDeleteRequest(java.lang.String url)
HttpDeleteRequest(java.lang.String url, Authentication auth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.HttpURLConnection
getConnection()
The method class will create the appropriate connection with an endpoint, parameters, etc.-
Methods inherited from class com.hellosign.sdk.http.AbstractHttpRequest
execute, getProxiedConnection, getResponseAsFile, getResponseBody, getResponseCode
-
-
-
-
Constructor Detail
-
HttpDeleteRequest
public HttpDeleteRequest(java.lang.String url) throws HelloSignException
- Throws:
HelloSignException
-
HttpDeleteRequest
public HttpDeleteRequest(java.lang.String url, Authentication auth) throws HelloSignException
- Throws:
HelloSignException
-
-
Method Detail
-
getConnection
protected java.net.HttpURLConnection getConnection() throws HelloSignException
Description copied from class:AbstractHttpRequest
The method class will create the appropriate connection with an endpoint, parameters, etc.- Specified by:
getConnection
in classAbstractHttpRequest
- Returns:
- HttpURLConnection
- Throws:
HelloSignException
- Thrown if a connection cannot be created
-
-