|
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(Map pageEncodings,
Map formEncodings)
|
String |
getUrl()
Returns the url string extracted from the first line of the client request. |
byte[] |
parse(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 samplerMethod Detail |
---|
public byte[] parse(InputStream in) throws IOException
in
- the stream to parse.
IOException
public HeaderManager getHeaderManager()
public HTTPSamplerBase getSampler(Map pageEncodings, Map formEncodings) throws MalformedURLException, IOException
MalformedURLException
IOException
public HTTPSamplerBase getSampler() throws MalformedURLException, IOException, ProtocolException
MalformedURLException
IOException
ProtocolException
public String getUrl()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |