Powered by Zoomin Software. For more details please contactZoomin

OpenEdge ABL API Reference

OpenEdge.Web.InternalWebRouter

  • Last Updated: November 12, 2026
  • 2 minute read
    • OpenEdge
    • Version 13.1
    • Documentation
Namespace: OpenEdge.Web
Type: Class InternalWebRouter
Parent Classes:
Progress.Web.AbstractWebRouter

Inherits: Progress.Web.AbstractWebRouter
Implements: OpenEdge.Logging.ISupportLogging, OpenEdge.Core.ISupportInitialize


Copyright (c) 2015-2018,2020,2022,2024,2026 by Progress Software Corporation. All rights reserved.
Purpose:Keep a list of application-specified WebHandlers
Description:Performs discovery of a WebHandler class and invokes it
Created:Mon Apr 27 14:42:44 EDT 2015
Notes:This is managed as a singleton by the ABL
@since:11.6



Method Summary
  Options Name Purpose
  Clear () /* Clears (empties) the entire WebHandler cache. */
  Destroy () /* Destroy/Shutdown/Anti-Initializer */
  INTEGER HandleRequest (character) /** * Handles a web request by locating and invoking a WebHandler via the given handler name. * The handler name must resolve to a valid OOABL class which will be dynamically invoked. * If this is the first request for a resolved WebHandler or the cached WebHandler is * invalid, a new instance of the class is created. * * The HandleRequest() method is then invoked in the WebHandler instance. * * @param character The name of the application-specified WebSpeed WebHandler * @return integer HTTP status code for the response, via the WebHandler's HandleRequest() method */
  Initialize () /* Initializer/Startup - Creates the internal WebHandler cache via StringKeyedMap object. */
  Progress.Web.IWebHandler InvokeHandler (character) /** * Invokes/instantiates a WebHandler class in the following order: * * 1) Try to get the WebHandler from a CCS Service Manager. If a WebHandler is returned, use this value as-is, * without caching. We ask for getService(IWebHandler, <web-handler-name>). * 2) If not in debug mode, look in the cache for a WebHandler. If it's valid, use it. * 3) Instantiate a WebHandler (if found in PROPATH). * 4) If not in debug mode, cache it. * * @param character The WebHandler name * @return IWebHandler A usable WebHandler instance */
  LOGICAL Release (character) /** * Releases the specified WebHandler from the cache. This allows it to be cleaned up (read: GC'd). * * @param character The WebHandler to release, by the given name. * @return logical Will be true if the instance was found and released; otherwise false. */

Constructor Summary
  Options Name Purpose
  InternalWebRouter () /* Default constructor */

Property Summary
  Options Name Purpose
  LOGICAL DebugEnabled
  OpenEdge.Core.Collections.IStringKeyedMap Handlers
  OpenEdge.Logging.ILogWriter Logger


Method Detail
Top

Clear ()

/* Clears (empties) the entire WebHandler cache.
Top

Destroy ()

/* Destroy/Shutdown/Anti-Initializer
Top

INTEGER HandleRequest (character)

Purpose:
Parameters:
pcHandlerName CHARACTER
 
Returns INTEGER
 
Top

Initialize ()

/* Initializer/Startup - Creates the internal WebHandler cache via StringKeyedMap object.
Top

Progress.Web.IWebHandler InvokeHandler (character)

Purpose:
Parameters:
pHandlerName CHARACTER
 
Returns Progress.Web.IWebHandler
 
Top

LOGICAL Release (character)

Purpose:
Parameters:
pcHandlerName CHARACTER
 
Returns LOGICAL
 


Constructor Detail
Top

InternalWebRouter ()

/* Default constructor


Property Detail
Top

LOGICAL DebugEnabled

Returns LOGICAL
 
Top

OpenEdge.Core.Collections.IStringKeyedMap Handlers

Top

OpenEdge.Logging.ILogWriter Logger



Alert