FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | FIELD | ACTION | DETAIL: IMPORT | CONSTANT | FIELD | ACTION |
Field summary | |
---|---|
string | method The HTTP method to use for the request. |
string | path The request URI. |
any | payload The request payload. |
com.softwareag.connectivity.httpclient.HttpOptions | options Optional HTTP options to set headers, cookies and query parameters. |
Action summary | |
---|---|
void |
execute(action<com.softwareag.connectivity.httpclient.Response> responseHandler) Send the request to an appropriate HTTP client transport chain instance and execute the callback on the response which could be either success or failure. |
void |
executeWithSeparateCallbacks(action<com.softwareag.connectivity.httpclient.Response> success, action<com.softwareag.connectivity.httpclient.Response> failure) Send the request to an appropriate HTTP client transport chain instance and execute the appropriate callback on the response. |
string |
getCookie(string name) Return the value of the HTTP cookie with the specified name. This is equivalent to calling options.cookies[name]. |
string |
getHeader(string name) Return the value of the HTTP header with the specified name. This is equivalent to calling options.headers[name]. |
string |
getQueryParameter(string name) Return the value of the HTTP query parameter with the specified name. This is equivalent to calling options.queryParams[name]. |
void |
setConcurrencyControlFlush(boolean enable) Force all outstanding requests to complete before starting this one. |
void |
setConcurrencyControlKey(any value) Set value of concurrencyControlKey in the request. |
void |
setCookie(string name, string value) Set an HTTP cookie in the request. This is equivalent to options.cookies[name] := value. |
void |
setHeader(string name, string value) Set an HTTP header. This is equivalent to options.headers[name] := value. |
void |
setMaxResponseKB(integer value) Set the value of maxResponseKB in the request. |
void |
setMaxResponsePolicy(string value) Set the value of maxResponsePolicy in the request. |
void |
setQueryParameter(string name, string value) Set an HTTP query parameter which gets encoded as part of the path in the request URI. This is equivalent to options.queryParams[name] := value. |
Field detail |
---|
string methodThe HTTP method to use for the request.
com.softwareag.connectivity.httpclient.HttpOptions optionsOptional HTTP options to set headers, cookies and query parameters.
string pathThe request URI.
any payloadThe request payload.
Action detail |
---|
void execute(action<com.softwareag.connectivity.httpclient.Response> responseHandler)Send the request to an appropriate HTTP client transport chain instance and execute the callback on the response which could be either success or failure.
void executeWithSeparateCallbacks(action<com.softwareag.connectivity.httpclient.Response> success, action<com.softwareag.connectivity.httpclient.Response> failure)Send the request to an appropriate HTTP client transport chain instance and execute the appropriate callback on the response.
string getCookie(string name)Return the value of the HTTP cookie with the specified name. This is equivalent to calling options.cookies[name].
string getHeader(string name)Return the value of the HTTP header with the specified name. This is equivalent to calling options.headers[name].
string getQueryParameter(string name)Return the value of the HTTP query parameter with the specified name. This is equivalent to calling options.queryParams[name].
void setConcurrencyControlFlush(boolean enable)Force all outstanding requests to complete before starting this one.
void setConcurrencyControlKey(any value)Set value of concurrencyControlKey in the request.
void setCookie(string name, string value)Set an HTTP cookie in the request. This is equivalent to options.cookies[name] := value.
void setHeader(string name, string value)Set an HTTP header. This is equivalent to options.headers[name] := value.
void setMaxResponseKB(integer value)Set the value of maxResponseKB in the request.
void setMaxResponsePolicy(string value)Set the value of maxResponsePolicy in the request.
void setQueryParameter(string name, string value)Set an HTTP query parameter which gets encoded as part of the path in the request URI. This is equivalent to options.queryParams[name] := value.
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | FIELD | ACTION | DETAIL: IMPORT | CONSTANT | FIELD | ACTION |