|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents an HttpRequest.
Method Summary | |
boolean |
contains(String name)
Tells wether there is a parameter with a given name |
String |
getHeader(String name)
Gets the value of a header. |
Object |
getParameter(String name)
Returns a parameter. |
Object[] |
getParameters(String name)
Returns a parameter. |
String |
getUserAgent()
Returns the user agent of this request |
boolean |
isIEUserAgent()
Tells if the user agent of the request is Internet Explorer |
void |
setResponse()
Unblock a thread that was blocked by a waitForResult call. |
boolean |
userAgentMatch(String s)
Tells if the user agent contains a given string |
boolean |
waitForResponse()
Makes the current requesting thread block and wait until the response is available. |
Method Detail |
public boolean contains(String name)
name
- the parameter's name whose presence to testpublic Object getParameter(String name)
name
- the name of the parameter
public Object[] getParameters(String name)
name
- the name of the parameter
public boolean isIEUserAgent()
userAgentMatch(String)
public boolean userAgentMatch(String s)
s
- string to be searched in user agent
public String getUserAgent()
public String getHeader(String name)
name
- name of the header
public boolean waitForResponse()
The thread that call this method waits until a call to
setResponse
occurs or a timeout occurs.
setResponse()
public void setResponse()
waitForResult
call.
waitForResponse()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |