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

Copyright (c) 2015 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




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 tyhe Execute(req, resp) is always called, becuase 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
# ClientOptions Options
Inherited from OpenEdge.Net.HTTP.HttpClientDecorator
# OpenEdge.Net.URI ProxyURI /** The URI to use as a proxy for this request eg. http://proxy.example.com/ */


Method Detail
Top

PROTECTED 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 tyhe Execute(req, resp)
is always called, becuase 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

PROTECTED 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

PROTECTED ProxyHttpClient (IHttpClient)

Parameters:
poClient OpenEdge.Net.HTTP.IHttpClient
Top

PROTECTED ProxyHttpClient (IHttpClient, URI)

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


Property Detail
Top

PROTECTED CHARACTER ClientName

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

PROTECTED CHARACTER ClientVersion

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

PROTECTED ClientOptions Options

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

PROTECTED OpenEdge.Net.URI ProxyURI

Purpose: The URI to use as a proxy for this request eg. http://proxy.example.com/
Returns OpenEdge.Net.URI


10.27.2015 12:36:52