Namespace: Consultingwerk.Framework.Http
Class 
SmartHttpClientBuilder Copy to Clipboard
Parent classes:
Inherits: OpenEdge.Net.HTTP.ClientBuilder
Implements: OpenEdge.Core.ISupportInitialize

File:SmartClientBuilder
Purpose:Builder for the SmartHttpClient
Syntax:Extendes the OPpenEdge CientBuilder class and returns
the SmartHttpClient decorator to the original OpenEdge
Http Client. Currently required due to the fact that the
method method NewClient() is private, not protected.
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:2019-08-29
Notes:* This class should inherit from DefaultHttpClientBuilder but
the factory method (NewClient) is private
Purpose: Returns the new (and decorated) IHttpClient instance
Notes:



Top Method Summary
Options Name Purpose
+ Destroy () /* noop */
+ Initialize ()
# OpenEdge.Net.HTTP.IHttpClient NewClient () Returns a useable HttpClient based on the config

Top Constructor Summary
Options Name Purpose
+ SmartHttpClientBuilder () Constructor for the SmartClientBuilder class

Top Property Summary
Options Name Purpose
+ OpenEdge.Net.HTTP.IHttpClient Client


Method Detail
Top

PUBLIC Destroy ()

/* noop

Top

PUBLIC Initialize ()


Top

PROTECTED OpenEdge.Net.HTTP.IHttpClient NewClient ()

Purpose: Returns a useable HttpClient based on the config
Notes:

Returns OpenEdge.Net.HTTP.IHttpClient
IHttpClient A useable HttpClient instance


Constructor Detail
Top

PUBLIC SmartHttpClientBuilder ()

Purpose: Constructor for the SmartClientBuilder class
Notes:



Property Detail
Top

PUBLIC OpenEdge.Net.HTTP.IHttpClient Client


Returns OpenEdge.Net.HTTP.IHttpClient


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:51:36