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