uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

setFollowRedirects(Boolean redirect) method

Description

This method specifies whether to automatically follow the HTTP redirector.

This method functions in the same manner as when you set the ClientConfig.PROPERTY_FOLLOW_REDIRECTS property in the property map acquired by using the getProperties() method.

Syntax

public void setFollowRedirects(Boolean redirect)

Parameter

redirect
If true, the client is automatically redirected to the coded URI of the HTTP response with the status code 300.

Return value

None.

Notes