Apache JMeter
2.0.1.20050615

org.apache.jmeter.protocol.http.sampler
Class PostWriter

java.lang.Object
  extended byorg.apache.jmeter.protocol.http.sampler.PostWriter

public class PostWriter
extends Object

Version:
$Revision: 1.12.2.2 $

Field Summary
protected static String BOUNDARY
           
protected static String encoding
           
 
Constructor Summary
PostWriter()
           
 
Method Summary
 void sendPostData(URLConnection connection, HTTPSampler sampler)
          Send POST data from Entry to the open connection.
 void setHeaders(URLConnection connection, HTTPSampler sampler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOUNDARY

protected static final String BOUNDARY
See Also:
Constant Field Values

encoding

protected static final String encoding
See Also:
Constant Field Values
Constructor Detail

PostWriter

public PostWriter()
Method Detail

sendPostData

public void sendPostData(URLConnection connection,
                         HTTPSampler sampler)
                  throws IOException
Send POST data from Entry to the open connection.

Throws:
IOException

setHeaders

public void setHeaders(URLConnection connection,
                       HTTPSampler sampler)
                throws IOException
Throws:
IOException

Apache JMeter
2.0.1.20050615

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