HttpClientChannel

Overview

HttpClientChannel implements the standard Client Channels for communicating with Remoting SDK servers via the HTTP protocol.

Location

 

constructor

Creates HttpClientChannel.

 

constructor

 

HttpClientChannel()

constructor (URI)

 

constructor(targetUrl: URI)

 

HttpClientChannel(URI targetUrl)

Parameters:

  • targetUrl:

asyncDispatch    (declared in ClientChannel)

 

method asyncDispatch(message: Message; proxy: AsyncProxy; start: Boolean; callback: AsyncRequest.IAsyncRequestCallback): AsyncRequest

 

AsyncRequest asyncDispatch(Message message, AsyncProxy proxy, Boolean start, AsyncRequest.IAsyncRequestCallback callback)

Parameters:

  • message:
  • proxy:
  • start:
  • callback:

Authorization

 

property Authorization: String read write;

 

String Authorization { __get; __set; }

channelWithURI    (declared in ClientChannel)

 

class method channelWithURI(uri: URI): ClientChannel

 

static ClientChannel channelWithURI(URI uri)

Parameters:

  • uri:

ConnectTimeout

 

property ConnectTimeout: Integer read write;

 

Integer ConnectTimeout { __get; __set; }

dispatch    (declared in ClientChannel)

 

method dispatch(message: Message)

 

void dispatch(Message message)

Parameters:

  • message:

FollowRedirects

 

property FollowRedirects: Boolean read write;

 

Boolean FollowRedirects { __get; __set; }

isCallbackHolder    (declared in ClientChannel)

 

method isCallbackHolder: Boolean

 

Boolean isCallbackHolder()

ReadTimeout

 

property ReadTimeout: Integer read write;

 

Integer ReadTimeout { __get; __set; }

setChannelCallback    (declared in ClientChannel)

 

method setChannelCallback(callback: IClientChannelCallback)

 

void setChannelCallback(IClientChannelCallback callback)

Parameters:

  • callback:

setupHttpRequest  protected

 

method setupHttpRequest(request: HttpURLConnection)

 

void setupHttpRequest(HttpURLConnection request)

Parameters:

  • request:

TargetUrl    (declared in ClientChannel)

 

property TargetUrl: URI read write;

 

URI TargetUrl { __get; __set; }

Timeout

 

property Timeout: Integer read write;

 

Integer Timeout { __get; __set; }

triggerOnLoginNeeded  protected    (declared in ClientChannel)

 

method triggerOnLoginNeeded(message: Message; exception: Exception): Boolean

 

Boolean triggerOnLoginNeeded(Message message, Exception exception)

Parameters:

  • message:
  • exception:

 

Authorization

 

property Authorization: String read write;

 

String Authorization { __get; __set; }

ConnectTimeout

 

property ConnectTimeout: Integer read write;

 

Integer ConnectTimeout { __get; __set; }

FollowRedirects

 

property FollowRedirects: Boolean read write;

 

Boolean FollowRedirects { __get; __set; }

ReadTimeout

 

property ReadTimeout: Integer read write;

 

Integer ReadTimeout { __get; __set; }

TargetUrl    (declared in ClientChannel)

 

property TargetUrl: URI read write;

 

URI TargetUrl { __get; __set; }

Timeout

 

property Timeout: Integer read write;

 

Integer Timeout { __get; __set; }

 

channelWithURI    (declared in ClientChannel)

 

class method channelWithURI(uri: URI): ClientChannel

 

static ClientChannel channelWithURI(URI uri)

Parameters:

  • uri:

 

constructor

Creates HttpClientChannel.

 

constructor

 

HttpClientChannel()

constructor (URI)

 

constructor(targetUrl: URI)

 

HttpClientChannel(URI targetUrl)

Parameters:

  • targetUrl:

asyncDispatch    (declared in ClientChannel)

 

method asyncDispatch(message: Message; proxy: AsyncProxy; start: Boolean; callback: AsyncRequest.IAsyncRequestCallback): AsyncRequest

 

AsyncRequest asyncDispatch(Message message, AsyncProxy proxy, Boolean start, AsyncRequest.IAsyncRequestCallback callback)

Parameters:

  • message:
  • proxy:
  • start:
  • callback:

dispatch    (declared in ClientChannel)

 

method dispatch(message: Message)

 

void dispatch(Message message)

Parameters:

  • message:

isCallbackHolder    (declared in ClientChannel)

 

method isCallbackHolder: Boolean

 

Boolean isCallbackHolder()

setChannelCallback    (declared in ClientChannel)

 

method setChannelCallback(callback: IClientChannelCallback)

 

void setChannelCallback(IClientChannelCallback callback)

Parameters:

  • callback:

setupHttpRequest  protected

 

method setupHttpRequest(request: HttpURLConnection)

 

void setupHttpRequest(HttpURLConnection request)

Parameters:

  • request:

triggerOnLoginNeeded  protected    (declared in ClientChannel)

 

method triggerOnLoginNeeded(message: Message; exception: Exception): Boolean

 

Boolean triggerOnLoginNeeded(Message message, Exception exception)

Parameters:

  • message:
  • exception: