Namespace: Consultingwerk.OERA.DataServiceInterface
Class 
AbstractDataServiceWebHandler Copy to Clipboard
Parent classes:
Inherits: OpenEdge.Web.WebHandler
Inherited by: Consultingwerk.Integrations.BuildOne.Swat.SwatWebHandler
ABSTRACT




Top Method Summary
Options Name Purpose
INTEGER HandleNotAllowedMethod (IWebRequest) Handler for unsupported methods
INTEGER HandleNotImplemented (IWebRequest) Handler for unknown methods
WriteJsonResponse (JsonObject, integer) Builds a JSON web response with the given status code and writes it to the response stream
WriteResponse (IHttpResponse) Writes the HttpResponse to the response stream


Method Detail
Top

INTEGER HandleNotAllowedMethod (IWebRequest)

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

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

INTEGER HandleNotImplemented (IWebRequest)

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

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

WriteJsonResponse (JsonObject, integer)

Purpose: Builds a JSON web response with the given status code and
writes it to the response stream
Notes:

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject to return to the client
piStatusCode INTEGER
The HTTP status code of the response
Top

WriteResponse (IHttpResponse)

Purpose: Writes the HttpResponse to the response stream
Notes: Overridden by unit tests to capture the response instead of
writing it to the (not available) web stream

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


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.08.2026 05:58:13