| java.lang.Object org.apache.jmeter.protocol.http.sampler.PostWriter
All known Subclasses: org.apache.jmeter.protocol.http.sampler.PutWriter,
PostWriter | public class PostWriter (Code) | | Class for setting the necessary headers for a POST request, and sending the
body of the POST.
|
BOUNDARY | final protected static String BOUNDARY(Code) | | The bounday string between multiparts
|
formDataPostBody | protected byte[] formDataPostBody(Code) | | The form data that is going to be sent in post body
|
formDataUrlEncoded | protected byte[] formDataUrlEncoded(Code) | | The form data that is going to be sent as url encoded
|
PostWriter | public PostWriter()(Code) | | Constructor for PostWriter.
Uses the PostWriter.BOUNDARY as the boundary string
|
PostWriter | public PostWriter(String boundary)(Code) | | Constructor for PostWriter
Parameters: boundary - the boundary string to use as marker between multipart parts |
getBoundary | protected String getBoundary()(Code) | | Get the boundary string, used to separate multiparts
the boundary string |
sendPostData | public String sendPostData(URLConnection connection, HTTPSampler sampler) throws IOException(Code) | | Send POST data from Entry to the open connection.
the post body sent. Actual file content is not returned, itis just shown as a placeholder text "actual file content" |
|
|