org.apache.jmeter.protocol.http.proxy
Class HttpRequestHdr
public class HttpRequestHdr
The headers of the client HTTP request.
HttpRequestHdr
public HttpRequestHdr()
HttpRequestHdr
public HttpRequestHdr(HTTPSamplerBase sampler)
sampler
- the http sampler
getSampler
public HTTPSamplerBase getSampler()
throws MalformedURLException,
IOException,
ProtocolException
use the getSampler(HashMap pageEncodings, HashMap formEncodings) instead, since
that properly handles the encodings of the page
getSampler
public HTTPSamplerBase getSampler(Map pageEncodings,
Map formEncodings)
throws MalformedURLException,
IOException
getUrl
public String getUrl()
Returns the url string extracted from the first line of the client request.
parse
public byte[] parse(InputStream in)
throws IOException
Parses a http header from a stream.
in
- the stream to parse.
- array of bytes from client.
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.