|
Apache JMeter 2.0.1.20050615 |
|||||||||
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.
Nested Class Summary | |
static class |
HttpRequestHdr.Test
|
Field Summary | |
String |
method
Http Request method. |
String |
postData
|
String |
url
The requested url. |
String |
version
Version of http being used. |
Constructor Summary | |
HttpRequestHdr()
|
Method Summary | |
String |
getContentType()
|
HeaderManager |
getHeaderManager()
|
HTTPSampler |
getSampler()
|
static MultipartUrlConfig |
isMultipart(String contentType)
|
byte[] |
parse(InputStream in)
Parses a http header from a stream. |
void |
parseFirstLine(String firstLine)
|
int |
parseLine(String nextLine)
|
String |
serverName()
Find the //server.name from an url. |
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 |
Field Detail |
public String method
public String url
public String version
public String postData
Constructor Detail |
public HttpRequestHdr()
Method Detail |
public byte[] parse(InputStream in) throws IOException
in
- the stream to parse.
IOException
public void parseFirstLine(String firstLine)
public int parseLine(String nextLine)
public HeaderManager getHeaderManager()
public HTTPSampler getSampler() throws MalformedURLException, IOException, ProtocolException
MalformedURLException
IOException
ProtocolException
public String getContentType()
public static MultipartUrlConfig isMultipart(String contentType)
public String serverName()
public int serverPort()
public String serverUrl()
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |