|
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
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)
|
byte[] |
parse(InputStream in)
Parses a http header from a stream. |
int |
serverPort()
Find the :PORT form http://server.ect:PORT/some/file.xxx |
String |
serverUrl()
Find the /some/file.xxxx form http://server.ect:PORT/some/file.xxx |
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, ProtocolException
MalformedURLException
IOException
ProtocolException
public HTTPSamplerBase getSampler() throws MalformedURLException, IOException, ProtocolException
MalformedURLException
IOException
ProtocolException
public int serverPort()
public String serverUrl()
|
Apache JMeter | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |