OpenEdge.Web.InternalWebRouter
- Last Updated: November 12, 2026
- 2 minute read
- OpenEdge
- Version 13.1
- Documentation
|
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
Clear ()
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Destroy ()
|
||||||||||||||||
INTEGER HandleRequest (character)
|
||||||||||||||||
Initialize ()
|
||||||||||||||||
Progress.Web.IWebHandler InvokeHandler (character)
|
||||||||||||||||
LOGICAL Release (character)
|
||||||||||||||||
Constructor Detail
InternalWebRouter ()
|
||||||
|---|---|---|---|---|---|---|
Property Detail
LOGICAL DebugEnabled
|
||||||||
|---|---|---|---|---|---|---|---|---|
OpenEdge.Core.Collections.IStringKeyedMap Handlers |
||||||||
OpenEdge.Logging.ILogWriter Logger
|
||||||||