public class StatefulHttpClient extends HttpClientDecorator implements ISupportCookies
Modifier and Type | Field and Description |
---|---|
private object<? extends ICookieJar> |
cookieJar
Cookie Jar
|
CLIENTOPTIONS, IHTTPREQUEST, IHTTPRESPONSE
Constructor and Description |
---|
StatefulHttpClient() |
Modifier and Type | Method and Description |
---|---|
void |
__net_http_StatefulHttpClient_constructor__(object<? extends IhttpClient> _poClient) |
void |
__net_http_StatefulHttpClient_constructor__(object<? extends IhttpClient> _poClient,
object<? extends ICookieJar> _poCookieJar) |
void |
__net_http_StatefulHttpClient_execute__() |
void |
execute(object<? extends IhttpRequest> _poRequest,
object<? extends IhttpResponse> _poResponse)
Execute HTTP request.
|
object<? extends ICookieJar> |
getCookieJar()
Get cookie storage.
|
void |
setCookieJar(object<? extends ICookieJar> _cookieJar)
Set cookie storage.
|
__net_http_HttpClientDecorator_constructor__, __net_http_HttpClientDecorator_execute__, execute, getClientName, getClientVersion, getDecoratedHttpClient, getOptions
__lang_BaseObject_constructor__, __lang_BaseObject_execute__, assertNotNull, assertNotNull, clone, getLegacyClass, getNextSibling, getPrevSibling, legacyEquals, toLegacyString
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__lang_BaseObject_constructor__, clone, getLegacyClass, getNextSibling, getPrevSibling, isTracked, legacyEquals, toLegacyString
private final object<? extends ICookieJar> cookieJar
public void execute(object<? extends IhttpRequest> _poRequest, object<? extends IhttpResponse> _poResponse)
IhttpClient
execute
in interface IhttpClient
execute
in class HttpClientDecorator
_poRequest
- HTTP request._poResponse
- HTTP Response.public void __net_http_StatefulHttpClient_execute__()
public void __net_http_StatefulHttpClient_constructor__(object<? extends IhttpClient> _poClient, object<? extends ICookieJar> _poCookieJar)
public void __net_http_StatefulHttpClient_constructor__(object<? extends IhttpClient> _poClient)
public object<? extends ICookieJar> getCookieJar()
getCookieJar
in interface ISupportCookies
public void setCookieJar(object<? extends ICookieJar> _cookieJar)
setCookieJar
in interface ISupportCookies
_cookieJar
- The cookie jar.