HttpClientgetRedirect Method A Sandcastle Documented Class Library
Perform an HTTP GET request on a URL whose response is expected to be a 3xx redirection, and return the target redirection URL.

Namespace: Ontotext.S4.client
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public Uri getRedirect(
	Uri source
)

Parameters

source
Type: SystemUri
the URL to request (relative URLs will resolve against the {@link #getBaseUrl() base URL}).

Return Value

Type: Uri
the URL returned by the "Location" header of the redirection response.
See Also

Reference