Namespace: OpenEdge.Net.HTTP
Class
ProxyHttpClient
Parent classes:
Inherits: OpenEdge.Net.HTTP.HttpClientDecorator
Implements: OpenEdge.Net.HTTP.ISupportProxy

Copyright (c) 2015-2016 by Progress Software Corporation. All rights reserved.
File:ProxyHttpClient
Purpose:Http client with support for proxy server, for all requests
Author(s):pjudge
Created:Thu May 22 15:12:49 EDT 2014
Purpose: The URI to use as a proxy for this request eg. http://proxy.example.com/




Method Summary
Options Name Purpose
OpenEdge.Net.HTTP.IHttpResponse Execute (IHttpRequest) /** Executes an HTTP request. This method wraps the Execute(Req,Resp) call in the same way that the HttpClient does. If does so in order to ensure that the Execute(req, resp) is always called, because we don't want to force each decorator to have to implement this call. @param HttpRequest Request parameters (URL, method, etc) @return HttpResponse Includes status and payload */
Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
Execute (IHttpRequest, IHttpResponse)
Overrides OpenEdge.Net.HTTP.HttpClientDecorator:Execute (IHttpRequest, IHttpResponse)

Constructor Summary
Options Name Purpose
ProxyHttpClient (IHttpClient)
ProxyHttpClient (IHttpClient, URI)

Property Summary
Options Name Purpose
CHARACTER ClientName
Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
CHARACTER ClientVersion
Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
OpenEdge.Net.HTTP.IHttpClient DecoratedHttpClient
Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
ClientOptions Options
Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
OpenEdge.Net.URI ProxyURI


Method Detail
Top

PUBLIC OpenEdge.Net.HTTP.IHttpResponse Execute (IHttpRequest)

Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
Purpose: Executes an HTTP request.
This method wraps the Execute(Req,Resp) call in the same way that the
HttpClient does. If does so in order to ensure that the Execute(req, resp)
is always called, because we don't want to force each decorator to have
to implement this call.
Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Returns OpenEdge.Net.HTTP.IHttpResponse
HttpResponse Includes status and payload
Top

PUBLIC Execute (IHttpRequest, IHttpResponse)

Overrides OpenEdge.Net.HTTP.HttpClientDecorator:Execute (IHttpRequest, IHttpResponse)
Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
poResponse OpenEdge.Net.HTTP.IHttpResponse


Constructor Detail
Top

PUBLIC ProxyHttpClient (IHttpClient)

Parameters:
poClient OpenEdge.Net.HTTP.IHttpClient
Top

PUBLIC ProxyHttpClient (IHttpClient, URI)

Parameters:
poClient OpenEdge.Net.HTTP.IHttpClient
poProxy OpenEdge.Net.URI


Property Detail
Top

PUBLIC CHARACTER ClientName

Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
Returns CHARACTER
Top

PUBLIC CHARACTER ClientVersion

Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
Returns CHARACTER
Top

PROTECTED OpenEdge.Net.HTTP.IHttpClient DecoratedHttpClient

Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
Returns OpenEdge.Net.HTTP.IHttpClient
Top

PUBLIC ClientOptions Options

Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
Returns ClientOptions
Top

PUBLIC OpenEdge.Net.URI ProxyURI

Returns OpenEdge.Net.URI


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0