Namespace: OpenEdge.Web
Type: Class InternalWebRouter
Parent Classes:
Progress.Web.AbstractWebRouter

Inherits: Progress.Web.AbstractWebRouter
Implements: OpenEdge.Logging.ISupportLogging


Copyright (c) 2015-2018 by Progress Software Corporation. All rights reserved.
Purpose:Keep a list of customer specified handlers and invoke
Author(s):mbanks
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 handler cache. */
  INTEGER HandleRequest (character) /* Handles a web request. A customer can specify a different handler for each application. If this is the first request for this handler or the handler is invalaid, an instance of it is created. The HandleRequest() method is then invoked. @param pcHandlerName the name of the customer registered webspeed handler */
  Progress.Web.IWebHandler InvokeHandler (character) /* Invokes/instantiates a webhandler @param character The webhandler name @return IWebHandler A usable webhandler instance */
  LOGICAL Release (character) /* Releases the specified handler from the cache. This lets it be cleaned up/GC'ed. @param character The handler to release. @return true if the instance was found and released. otherwise false. */

Property Summary
  Options Name Purpose
  LOGICAL DebugEnabled
  OpenEdge.Logging.ILogWriter Logger


Method Detail
Top

Clear ()

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

INTEGER HandleRequest (character)

/* Handles a web request. A customer can specify a different handler for
each application. If this is the first request for this handler or the
handler is invalaid, an instance of it is created.
The HandleRequest() method is then invoked.
Parameters:
pcHandlerName CHARACTER
  the name of the customer registered webspeed handler */
Returns INTEGER
 
Top

Progress.Web.IWebHandler InvokeHandler (character)

/* Invokes/instantiates a webhandler
Parameters:
pHandlerName CHARACTER
 
Returns Progress.Web.IWebHandler
  IWebHandler A usable webhandler instance
Top

LOGICAL Release (character)

/* Releases the specified handler from the cache. This lets it be cleaned up/GC'ed.
Parameters:
pchandlerName CHARACTER
 
Returns LOGICAL
  true if the instance was found and released. otherwise false.


Property Detail
Top

LOGICAL DebugEnabled

Returns LOGICAL
 
Top

OpenEdge.Logging.ILogWriter Logger

Returns OpenEdge.Logging.ILogWriter