Package io.odilon.client.http.multipart
Class HttpMultipart
java.lang.Object
io.odilon.client.http.multipart.HttpRequest
io.odilon.client.http.multipart.HttpMultipart
HTTP Multipart request
- Author:
- atolomei@novamens.com (Alejandro Tolomei)
-
Field Summary
Fields inherited from class io.odilon.client.http.multipart.HttpRequest
LINE_FEED
-
Constructor Summary
ConstructorDescriptionHttpMultipart
(String url, String credentials, String charset, boolean ssl, boolean acceptAllCertificates) HttpMultipart
(String url, String credentials, String charset, boolean ssl, boolean acceptAllCertificates, ProgressListener listener) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected boolean
protected String
protected void
write
(HttpEntity entity) protected void
writeEnd
(HttpEntity requestEntity) protected void
writeStart
(HttpEntity requestEntity) Methods inherited from class io.odilon.client.http.multipart.HttpRequest
close, exchange, getApiToken, getChunk, getConnection, getCredentials, getErrorReader, getErrorResponse, getListener, getReader, getResponse, getResponseCode, getUrl, getWriter, isAcceptAllCertificates, isSSL, openConnection, setApiToken, setChunk, setConnection, setCredentials, setListener, setUrl
-
Constructor Details
-
HttpMultipart
-
HttpMultipart
public HttpMultipart(String url, String credentials, String charset, boolean ssl, boolean acceptAllCertificates, ProgressListener listener)
-
-
Method Details
-
write
- Overrides:
write
in classHttpRequest
- Throws:
IOException
-
getRequestMethod
- Overrides:
getRequestMethod
in classHttpRequest
-
getDoOutput
protected boolean getDoOutput()- Overrides:
getDoOutput
in classHttpRequest
-
getContentType
- Overrides:
getContentType
in classHttpRequest
-
getCharSet
-
writeStart
- Throws:
IOException
-
writeEnd
- Throws:
IOException
-