Class MultipartConnection
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.advisor.client.MultipartConnection
-
public class MultipartConnection extends Object
-
-
Constructor Summary
Constructors Constructor Description MultipartConnection(String requestURL, Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilePart(String fieldName, File uploadFile)
void
addHeader(String key, String value)
void
connect()
ClientResponse
finish()
-
-
-
Constructor Detail
-
MultipartConnection
public MultipartConnection(String requestURL, Charset charset) throws IOException
- Throws:
IOException
-
-
Method Detail
-
connect
public void connect()
-
addFilePart
public void addFilePart(String fieldName, File uploadFile) throws IOException
- Throws:
IOException
-
finish
public ClientResponse finish() throws IOException
- Throws:
IOException
-
-