Namespace: Consultingwerk.Framework.Http
Class 
SmartHttpClient Copy to Clipboard
Parent classes:
OpenEdge.Net.HTTP.HttpClientDecorator

Inherits: OpenEdge.Net.HTTP.HttpClientDecorator
Implements: OpenEdge.Net.HTTP.IHttpClient

Purpose: Gets and sets if error handling should be suppressed
Notes:



Top Method Summary
Options Name Purpose
+ Execute (IHttpRequest, IHttpResponse) Executes an HTTP request
# HandleHttpError (IHttpRequest, IHttpResponse) Handles an HTTP Error
# HandleHttpError (IHttpResponse) Handles an HTTP Error

Top Constructor Summary
Options Name Purpose
+ SmartHttpClient (IHttpClient) Constructor for the SmartHttpClient class

Top Property Summary
Options Name Purpose
+ LOGICAL SuppressErrorHandling


Method Detail
Top

PUBLIC Execute (IHttpRequest, IHttpResponse)

Purpose: Executes an HTTP request
Notes:

Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Request parameters (URL, method, etc)
poResponse OpenEdge.Net.HTTP.IHttpResponse
The HTTP Response
Top

PROTECTED HandleHttpError (IHttpRequest, IHttpResponse)

Purpose: Handles an HTTP Error
Notes:

Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Request parameters (URL, method, etc)
poResponse OpenEdge.Net.HTTP.IHttpResponse
The IHttpResponse with the error
Top

PROTECTED HandleHttpError (IHttpResponse)

Purpose: Handles an HTTP Error
Notes:

Parameters:
poResponse OpenEdge.Net.HTTP.IHttpResponse
The IHttpResponse with the error


Constructor Detail
Top

PUBLIC SmartHttpClient (IHttpClient)

Purpose: Constructor for the SmartHttpClient class
Notes:

Parameters:
poHttpClient OpenEdge.Net.HTTP.IHttpClient
The IHttpClient to be decorated


Property Detail
Top

PUBLIC LOGICAL SuppressErrorHandling


Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:37:12