Namespace: Consultingwerk.OERA.JsdoGenericService.WebHandler
Class 
SmartWebHandler Copy to Clipboard
Parent classes:
Inherits: OpenEdge.Web.WebHandler
Inherited by: Consultingwerk.OERA.JsdoGenericService.WebHandler.CatalogWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.CountWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.InvokeMethodWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.ListBusinessServicesWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.BusinessServicesWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.CatalogsWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.ResourceSubmitWebHandler Consultingwerk.OERA.JsdoGenericService.WebHandler.ResourceWebHandler Consultingwerk.OERA.RestResource.RestEntitiesWebHandler Consultingwerk.OERA.Swagger.SwaggerRestEntitiesWebHandler Consultingwerk.OERA.Swagger.SwaggerWebHandler Consultingwerk.Web2.Services.SmartViewsHandler.SmartFormWebHandler Consultingwerk.Web2.Services.SmartViewsHandler.SmartGridWebHandler Consultingwerk.Web2.Services.SmartViewsHandler.SmartViewerWebHandler Consultingwerk.Web2.WebHandler.ContextPropertiesWebHandler Consultingwerk.Web2.WebHandler.ExecuteAblWebHandler Consultingwerk.Web2.WebHandler.FileSearchWebHandler Consultingwerk.Web2.WebHandler.GetImageNamesHandler Consultingwerk.Web2.WebHandler.GetImageWebHandler Consultingwerk.Web2.WebHandler.SessionContextWebHandler Consultingwerk.Web2.WebHandler.SessionInfoWebHandler Consultingwerk.Web2.WebHandler.SmartAttachmentsWebHandler Consultingwerk.Web2.WebHandler.SmartAttachmentWebHandler Consultingwerk.Web2.WebHandler.SmartEntityTableMappingHandler Consultingwerk.Web2.WebHandler.SmartFieldSecurityCheckWebHandler Consultingwerk.Web2.WebHandler.SmartLanguagesWebHandler Consultingwerk.Web2.WebHandler.SmartMenuStructureWebHandler Consultingwerk.Web2.WebHandler.SmartMenuWebHandler Consultingwerk.Web2.WebHandler.SmartMessageWebHandler Consultingwerk.Web2.WebHandler.SmartRoutesWebHandler Consultingwerk.Web2.WebHandler.SmartSecurityCheckWebHandler Consultingwerk.Web2.WebHandler.SmartTokenSecurityCheckWebHandler Consultingwerk.Web2.WebHandler.SmartTreeChildNodesWebHandler Consultingwerk.Web2.WebHandler.SmartTreeRootNodeWebHandler Consultingwerk.Web2.WebHandler.SmartValueListWebHandler
ABSTRACT

File:SmartWebHandler
Purpose:Base class for WebHandler classes
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Wed Jun 01 08:18:13 CEST 2016
Notes:Compilation requires %DLC%/{gui|tty}/netlib/OpenEdge.Net.pl
in propath and PacificWebSpeed setting in products.i
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
# HandleError (Error, IHttpResponse) Handels an error. The error is written into the logfile and returned to the client in the body.
# INTEGER HandleNotAllowedMethod (IWebRequest) Handler for unsupported methods. The request being serviced and an optional status code is returned. A zero or null value means this method will deal with all errors.
# INTEGER HandleNotImplemented (IWebRequest) Handler for unknown methods. The request being serviced and an optional status code is returned. A zero or null value means this method will deal with all errors.
# LogRequestDetail (IWebRequest) Logs details about the current web handler request
# LogRequestEnd (IWebRequest, IHttpResponse) Logs details about the end of current web handler request
# WriteResponse (IHttpResponse) Writes the HttpResponse to the stream

Top Constructor Summary
Options Name Purpose
SmartWebHandler () Static constructor for the SmartWebHandler class


Method Detail
Top

PROTECTED HandleError (Error, IHttpResponse)

Purpose: Handels an error. The error is written into the logfile and returned
to the client in the body.
Notes:

Parameters:
poError Progress.Lang.Error
An instance of a Progress.Lang.Error
poResponse OpenEdge.Net.HTTP.IHttpResponse
The Response instance returned to the client
Top

PROTECTED INTEGER HandleNotAllowedMethod (IWebRequest)

Purpose: Handler for unsupported methods. The request being serviced and
an optional status code is returned. A zero or null value means
this method will deal with all errors.
Notes:

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
Returns INTEGER
StatusCode of the response sent to the client
Top

PROTECTED INTEGER HandleNotImplemented (IWebRequest)

Purpose: Handler for unknown methods. The request being serviced and an
optional status code is returned. A zero or null value means
this method will deal with all errors.
Notes:

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
Returns INTEGER
StatusCode of the response sent to the client
Top

PROTECTED LogRequestDetail (IWebRequest)

Purpose: Logs details about the current web handler request
Notes:

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
Top

PROTECTED LogRequestEnd (IWebRequest, IHttpResponse)

Purpose: Logs details about the end of current web handler request
Notes:

Parameters:
poRequest OpenEdge.Web.IWebRequest
The IWebRequest instance representing the call
poResponse OpenEdge.Net.HTTP.IHttpResponse
The http reponse generated
Top

PROTECTED WriteResponse (IHttpResponse)

Purpose: Writes the HttpResponse to the stream
Notes: Does handle OpenEdge.Core.String seperatly due to (PSC00348040)

Parameters:
poResponse OpenEdge.Net.HTTP.IHttpResponse
The Response instance to write


Constructor Detail
Top

STATIC SmartWebHandler ()

Purpose: Static constructor for the SmartWebHandler class
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:28:59