Apache JMeter
1.9

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

java.lang.Object
  |
  +--org.apache.jmeter.protocol.http.sampler.PostWriter

public class PostWriter
extends Object

Title: JMeter Description: Copyright: Copyright (c) 2000 Company: Apache

Version:
1.0
Author:
Michael Stover

Field Summary
protected static String BOUNDARY
           
protected static byte[] CRLF
           
protected static String encoding
           
protected static int fudge
           
 
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

CRLF

protected static final byte[] CRLF

fudge

protected static int fudge

encoding

protected static String encoding
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.

Parameters:
connection - Description of Parameter
Throws:
IOException - Description of Exception

setHeaders

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

Apache JMeter
1.9

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