setAutoRedirect(boolean autoRedirect) Determines whether the client should automatically follow page redirect requests (status 3xx).
public void
setAutoRefresh(boolean autoRefresh) Specifies whether the client should automatically follow page refresh requests.
By default, this is false, so that programs can verify the redirect page presented
to users before the browser switches to the new page.
Returns the user agent identification. Unless this has been set explicitly, it will default to the
application code name followed by a slash and the application version.
Returns true if the client should automatically follow page refresh requests.
By default, this is false, so that programs can verify the redirect page presented
to users before the browser switches to the new page.
public void setAcceptCookies(boolean acceptCookies)(Code)
Specifies whether the client should accept and send cookies.
setAcceptGzip
public void setAcceptGzip(boolean acceptGzip)(Code)
Specifies whether the client will accept GZIP encoded responses. The default is true.
setApplicationCodeName
public void setApplicationCodeName(String applicationCodeName)(Code)
setApplicationID
public void setApplicationID(String applicationName, String applicationCodeName, String applicationVersion)(Code)
Specifies the ID information for a client.
setApplicationName
public void setApplicationName(String applicationName)(Code)
setApplicationVersion
public void setApplicationVersion(String applicationVersion)(Code)
setAutoRedirect
public void setAutoRedirect(boolean autoRedirect)(Code)
Determines whether the client should automatically follow page redirect requests (status 3xx).
By default, this is true in order to simulate normal browser operation.
setAutoRefresh
public void setAutoRefresh(boolean autoRefresh)(Code)
Specifies whether the client should automatically follow page refresh requests.
By default, this is false, so that programs can verify the redirect page presented
to users before the browser switches to the new page. Setting this to true can
cause an infinite loop on pages that refresh themselves.