org.apache.jmeter.protocol.http.sampler

Class PutWriter


public class PutWriter
extends PostWriter

Class for setting the necessary headers for a PUT request, and sending the body of the PUT.

Field Summary

Fields inherited from class org.apache.jmeter.protocol.http.sampler.PostWriter

BOUNDARY, ENCODING, formDataPostBody, formDataUrlEncoded

Constructor Summary

PutWriter()
Constructor for PutWriter.

Method Summary

void
setHeaders(URLConnection connection, HTTPSampler sampler)

Methods inherited from class org.apache.jmeter.protocol.http.sampler.PostWriter

getBoundary, sendPostData, setHeaders

Constructor Details

PutWriter

public PutWriter()
Constructor for PutWriter.

Method Details

setHeaders

public void setHeaders(URLConnection connection,
                       HTTPSampler sampler)
            throws IOException
Overrides:
setHeaders in interface PostWriter

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