org.apache.jmeter.protocol.http.config

Class MultipartUrlConfig

Implemented Interfaces:
Serializable

public class MultipartUrlConfig
extends Object
implements Serializable

Configuration element which handles HTTP Parameters and files to be uploaded

Constructor Summary

MultipartUrlConfig()
Deprecated. only for use by unit tests
MultipartUrlConfig(String boundary)

Method Summary

void
addArgument(String name, String value)
void
addArgument(String name, String value, String metadata)
Arguments
getArguments()
String
getBoundary()
HTTPFileArgs
getHTTPFileArgs()
void
parseArguments(String queryString)
This method allows a proxy server to send over the raw text from a browser's output stream to be parsed and stored correctly into the UrlConfig object.

Constructor Details

MultipartUrlConfig

public MultipartUrlConfig()

Deprecated. only for use by unit tests


MultipartUrlConfig

public MultipartUrlConfig(String boundary)

Method Details

addArgument

public void addArgument(String name,
                        String value)

addArgument

public void addArgument(String name,
                        String value,
                        String metadata)

getArguments

public Arguments getArguments()

getBoundary

public String getBoundary()

getHTTPFileArgs

public HTTPFileArgs getHTTPFileArgs()

parseArguments

public void parseArguments(String queryString)
This method allows a proxy server to send over the raw text from a browser's output stream to be parsed and stored correctly into the UrlConfig object.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.