HttpClientChannel
Overview
HttpClientChannel implements the standard Client Channels for communicating with Remoting SDK servers via the HTTP protocol.
Location
- Reference: com.remobjects.sdk.jar
- Package: com.remobjects.sdk
- Ancestry: Object | Channel | ClientChannel | HttpClientChannel
constructor
Creates HttpClientChannel.
constructor
HttpClientChannel()
constructor (URI) (declared in ClientChannel)
constructor(targetUri: URI)
HttpClientChannel(URI targetUri)
Parameters:
- targetUri:
constructor (URI)
constructor(targetUrl: URI)
HttpClientChannel(URI targetUrl)
Parameters:
- targetUrl:
asyncDispatch (declared in ClientChannel)
Dispatches the given message asynchronously and returns an AsyncRequest object. Mainly for internal use.
method asyncDispatch(message: Message; proxy: AsyncProxy; start: Boolean; callback: IAsyncRequestCallback): AsyncRequest
AsyncRequest asyncDispatch(Message message, AsyncProxy proxy, Boolean start, IAsyncRequestCallback callback)
Parameters:
- message:
- proxy:
- start: Given start.
- callback: Given 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)
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) (declared in ClientChannel)
constructor(targetUri: URI)
HttpClientChannel(URI targetUri)
Parameters:
- targetUri:
constructor (URI)
constructor(targetUrl: URI)
HttpClientChannel(URI targetUrl)
Parameters:
- targetUrl:
asyncDispatch (declared in ClientChannel)
Dispatches the given message asynchronously and returns an AsyncRequest object. Mainly for internal use.
method asyncDispatch(message: Message; proxy: AsyncProxy; start: Boolean; callback: IAsyncRequestCallback): AsyncRequest
AsyncRequest asyncDispatch(Message message, AsyncProxy proxy, Boolean start, IAsyncRequestCallback callback)
Parameters:
- message:
- proxy:
- start: Given start.
- callback: Given callback.
dispatch (declared in ClientChannel)
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: