|
|||||||||
| 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.BaseConfig
com.gwtext.client.core.ConnectionConfig
public class ConnectionConfig
Connection configuration class.
| Field Summary |
|---|
| Fields inherited from class com.gwtext.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
ConnectionConfig()
|
|
| Method Summary | |
|---|---|
void |
setAutoAbort(boolean autoAbort)
Whether this request should abort any pending requests. |
void |
setDefaultHeaders(NameValuePair[] defaultHeaders)
Request headers which are added to each request made by this object. |
void |
setExtraParams(UrlParam[] params)
Properties which are used as extra parameters to each request made by this object. |
void |
setMethod(Connection.Method method)
Sets the method (GET or POST) for the operation. |
void |
setTimeout(int timeout)
The timeout in milliseconds to be used for requests. |
void |
setUrl(java.lang.String url)
The default URL to be used for requests to the server. |
| 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 ConnectionConfig()
| Method Detail |
|---|
public void setAutoAbort(boolean autoAbort)
autoAbort - defaults to falsepublic void setDefaultHeaders(NameValuePair[] defaultHeaders)
defaultHeaders - default headerspublic void setExtraParams(UrlParam[] params)
params - request parameterspublic void setMethod(Connection.Method method)
method - the methodConnection.GET,
Connection.POSTpublic void setTimeout(int timeout)
timeout - timoutpublic void setUrl(java.lang.String url)
url - defaults to undefined
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||