|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.protocol.http.proxy.HttpRequestHdr
public class HttpRequestHdr
The headers of the client HTTP request.
| Constructor Summary | |
|---|---|
HttpRequestHdr()
|
|
HttpRequestHdr(HTTPSamplerBase sampler)
|
|
| Method Summary | |
|---|---|
HeaderManager |
getHeaderManager()
|
HTTPSamplerBase |
getSampler()
Deprecated. use the getSampler(HashMap pageEncodings, HashMap formEncodings) instead, since that properly handles the encodings of the page |
HTTPSamplerBase |
getSampler(java.util.Map pageEncodings,
java.util.Map formEncodings)
|
java.lang.String |
getUrl()
Returns the url string extracted from the first line of the client request. |
byte[] |
parse(java.io.InputStream in)
Parses a http header from a stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestHdr()
public HttpRequestHdr(HTTPSamplerBase sampler)
sampler - the http sampler| Method Detail |
|---|
public byte[] parse(java.io.InputStream in)
throws java.io.IOException
in - the stream to parse.
java.io.IOExceptionpublic HeaderManager getHeaderManager()
public HTTPSamplerBase getSampler(java.util.Map pageEncodings,
java.util.Map formEncodings)
throws java.net.MalformedURLException,
java.io.IOException
java.net.MalformedURLException
java.io.IOException
public HTTPSamplerBase getSampler()
throws java.net.MalformedURLException,
java.io.IOException,
java.net.ProtocolException
java.net.MalformedURLException
java.io.IOException
java.net.ProtocolExceptionpublic java.lang.String getUrl()
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||