|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.core.RequestParam
public class RequestParam
This class represents a HTTP Request.
Connection.request(RequestParam)
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
RequestParam()
|
Method Summary | |
---|---|
void |
setForm(java.lang.String formId)
The ID of the form that you want to use. |
void |
setHeaders(NameValuePair[] defaultHeaders)
The headers to pass with the request. |
void |
setIsUpload(boolean isUpload)
Does the form do a file upload. |
void |
setMethod(Connection.Method method)
The request method (GET or POST). |
void |
setParams(UrlParam[] params)
The request paameters. |
void |
setUrl(java.lang.String url)
The URL of the request. |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestParam()
Method Detail |
---|
public void setUrl(java.lang.String url)
url
- the rulpublic void setParams(UrlParam[] params)
params
- the request parameterspublic void setMethod(Connection.Method method)
method
- the request methodpublic void setForm(java.lang.String formId)
formId
- the form IDpublic void setIsUpload(boolean isUpload)
isUpload
- true if file uploadpublic void setHeaders(NameValuePair[] defaultHeaders)
defaultHeaders
- the headers
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |