Namespace: OpenEdge.Web
Class
CompatibilityHandler
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: Progress.Web.IWebHandler, OpenEdge.Logging.ISupportLogging

Copyright (c) 2015, 2018 by Progress Software Corporation. All rights reserved.
Purpose:Provide dispatching for WebSpeed for the PAS Web transport
Usage:Define as defaultHandler in openedge.properties for the WEB transport
Description:Manages startup of web/objects/web-handler.p and passes requests
to its process-web-request. The web-handler.p is a PAS variation
of the classic web-disp procedure.
This allows classic webSpeed applications and tools to run in a
PAS web application.
Author(s):hdaniels
Created:March 27 2015
Notes:Intended for migration of existing WebSpeed applications.
It is generally recommended that new web development for PAS web
transport use an implementation of the IWebHandler class that manages
the requests using OpenEdge.NetLib as base classes.
- The launched default web-handler procedure and WebSpeed utilities
have no knowledge of this class and does not have any reference
to the OpenEdge.NetLib.pl
@since:11.6
/* A reference to the Logger in use by an implementer. Should ALWAYS return a valie value, even if its the VoidLogger




Method Summary
Options Name Purpose
INTEGER HandleRequest () /** * Handle a web request. */
HANDLE StartProcedure () /* Start the web-handler procedure. This PAS replacement of web-disp.p initialize all utilities and super procedures the same way web-disp does (it calls paswebstart.p, an extention of webstart, from the main block) @todo read procedure name from config */
StopProcedure () /* Stops any running web-handler procedure. */

Constructor Summary
Options Name Purpose
CompatibilityHandler () /* default constructor */

Property Summary
Options Name Purpose
CHARACTER AllowedMethods
OpenEdge.Logging.ILogWriter Logger
HANDLE ProcedureHandle


Method Detail
Top

INTEGER HandleRequest ()

Purpose:
Returns INTEGER
Top

HANDLE StartProcedure ()

/* Start the web-handler procedure. This PAS replacement of
web-disp.p initialize all utilities and super procedures
the same way web-disp does (it calls paswebstart.p, an
extention of webstart, from the main block)
@todo read procedure name from config
Returns HANDLE
Top

StopProcedure ()

/* Stops any running web-handler procedure.


Constructor Detail
Top

CompatibilityHandler ()

/* default constructor


Property Detail
Top

CHARACTER AllowedMethods

Returns CHARACTER
Top

OpenEdge.Logging.ILogWriter Logger

Returns OpenEdge.Logging.ILogWriter
Top

HANDLE ProcedureHandle

Returns HANDLE


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15