Logo Search packages:      
Sourcecode: jakarta-jmeter version File versions  Download package

void org::apache::jmeter::protocol::http::sampler::HTTPSampler::setPostHeaders ( URLConnection  conn  )  throws IOException [inline, protected]

Set request headers in preparation to opening a connection.

conn URLConnection to set headers on
IOException if an I/O exception occurs

Definition at line 138 of file HTTPSampler.java.

References postOrPutWriter, and org::apache::jmeter::protocol::http::sampler::PostWriter::setHeaders().

Referenced by setupConnection().

        postOrPutWriter = new PostWriter();
        postOrPutWriter.setHeaders(conn, this);

Generated by  Doxygen 1.6.0   Back to index