public class HttpRequestHdr extends Object
| Constructor and Description |
|---|
HttpRequestHdr() |
HttpRequestHdr(HTTPSamplerBase sampler) |
| Modifier and Type | Method and Description |
|---|---|
HeaderManager |
getHeaderManager() |
String |
getMethod()
Returns the method string extracted from the first line of the client request.
|
HTTPSamplerBase |
getSampler(Map<String,String> pageEncodings,
Map<String,String> 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.
|
public HttpRequestHdr()
public HttpRequestHdr(HTTPSamplerBase sampler)
sampler - the http samplerpublic byte[] parse(InputStream in) throws IOException
in - the stream to parse.IOExceptionpublic HeaderManager getHeaderManager()
public HTTPSamplerBase getSampler(Map<String,String> pageEncodings, Map<String,String> formEncodings) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic String getUrl()
public String getMethod()
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.