protected class ConnectorIntegrationTestBase.MultipartFormdataProcessor extends Object
Constructor and Description |
---|
MultipartFormdataProcessor(String endPointUrl) |
MultipartFormdataProcessor(String endPointUrl,
Map<String,String> httpHeaders) |
MultipartFormdataProcessor(String endPointUrl,
Map<String,String> httpHeaders,
int multipartType) |
MultipartFormdataProcessor(String endPointUrl,
String Charset) |
MultipartFormdataProcessor(String endPointUrl,
String charSet,
Map<String,String> httpHeaders) |
public MultipartFormdataProcessor(String endPointUrl) throws IOException
IOException
public MultipartFormdataProcessor(String endPointUrl, Map<String,String> httpHeaders) throws IOException
IOException
public MultipartFormdataProcessor(String endPointUrl, String charSet, Map<String,String> httpHeaders) throws IOException
IOException
public MultipartFormdataProcessor(String endPointUrl, String Charset) throws IOException
IOException
public MultipartFormdataProcessor(String endPointUrl, Map<String,String> httpHeaders, int multipartType) throws IOException
IOException
public void addMetadataToMultipartRelatedRequest(String filename, String contentType, String charset, Map<String,String> parametersMap) throws IOException
IOException
public void addFileToMultipartRelatedRequest(String fileName, String contentId) throws IOException
IOException
public void addFileToMultipartRelatedRequest(String fileName, File file, String contentType, String contentId) throws IOException
IOException
public void addFormDataToRequest(String fieldName, String fieldValue) throws IOException
IOException
public void addFormDataToRequest(String fieldName, String fieldValue, String charset) throws IOException
IOException
public void addFileToRequest(String fieldName, String fileName, String contentType) throws IOException
IOException
public void addFileToRequest(String fieldName, String fileName, String contentType, String targetFileName) throws IOException
IOException
public void addFileToRequest(String fieldName, String fileName) throws IOException
IOException
public void addFileToRequest(String fieldName, File file) throws IOException
IOException
public void addFileToRequest(String fieldName, File file, String contentType, String fileName) throws IOException
IOException
public void addFileToRequest(String fieldName, File file, String contentType) throws IOException
IOException
public String processForStringResponse() throws IOException
IOException
public RestResponse<org.json.JSONObject> processForJsonResponse() throws IOException, org.json.JSONException
IOException
org.json.JSONException
public RestResponse<org.apache.axiom.om.OMElement> processForXmlResponse() throws IOException, XMLStreamException
IOException
XMLStreamException
public void addFiletoRequestBody(File file) throws IOException
IOException
public void addChunckedFiletoRequestBody(byte[] bytesPortion) throws IOException
IOException
public RestResponse<org.json.JSONObject> processAttachmentForJsonResponse() throws IOException, org.json.JSONException
IOException
org.json.JSONException
public RestResponse<org.apache.axiom.om.OMElement> processAttachmentForXmlResponse() throws IOException, XMLStreamException
IOException
XMLStreamException
Copyright © 2018 WSO2. All rights reserved.