Namespace: OpenEdge.Web
Class 
WebHandler
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: Progress.Web.IWebHandler
ABSTRACT

Copyright (c) 2015 by Progress Software Corporation. All rights reserved.
Purpose:Abstract class to use as a basis for building WebSpeed for
PASOE request handlers
Author(s):mbanks
Created:Wed Jan 14 14:38:25 EST 2015
Notes:* Concrete child classes must implement the HandleNotImplemented and
HandleNotAllowedMethod methods so which are the baseline on
we control the messages back (either created entirely in ABL or
served by PASOE).




Method Summary
Options Name Purpose
INTEGER HandleDelete (IWebRequest) /* Default handler for the HTTP DELETE method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
INTEGER HandleGet (IWebRequest) /* Default handler for the HTTP GET method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
INTEGER HandleHead (IWebRequest) /* Default handler for the HTTP HEAD method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
A INTEGER HandleNotAllowedMethod (IWebRequest) /* Handler for unsupported methods @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
A INTEGER HandleNotImplemented (IWebRequest) /* Handler for unknown methods @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
INTEGER HandleOptions (IWebRequest) /* Default handler for the HTTP OPTIONS method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
INTEGER HandlePatch (IWebRequest) /* Default handler for the HTTP PATCH method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
INTEGER HandlePost (IWebRequest) /* Default handler for the HTTP POST method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
INTEGER HandlePut (IWebRequest) /* Default handler for the HTTP PUT method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */
# INTEGER HandleRequest () /* Handle request by calling the specific handler for the request method @return integer An HTTP status code. Zero means that the webhandler will take care of any errors. A non-zero value means that the PASOE webapp's error handling will return a standardm page for the error */
INTEGER HandleTrace (IWebRequest) /* Default handler for the HTTP TRACE method @param IWebRequest The request being serviced @return integer An optional status code. A zero or null value means this method will deal with all errors */


Method Detail
Top

INTEGER HandleDelete (IWebRequest)

/* Default handler for the HTTP DELETE method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandleGet (IWebRequest)

/* Default handler for the HTTP GET method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandleHead (IWebRequest)

/* Default handler for the HTTP HEAD method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandleNotAllowedMethod (IWebRequest)

/* Handler for unsupported methods
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandleNotImplemented (IWebRequest)

/* Handler for unknown methods
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandleOptions (IWebRequest)

/* Default handler for the HTTP OPTIONS method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandlePatch (IWebRequest)

/* Default handler for the HTTP PATCH method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandlePost (IWebRequest)

/* Default handler for the HTTP POST method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

INTEGER HandlePut (IWebRequest)

/* Default handler for the HTTP PUT method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this
Top

PROTECTED INTEGER HandleRequest ()

/* Handle request by calling the specific handler for the request method
any errors. A non-zero value means that the PASOE webapp's error handling
will return a standardm page for the error
Returns INTEGER
integer An HTTP status code. Zero means that the webhandler will take care of
Top

INTEGER HandleTrace (IWebRequest)

/* Default handler for the HTTP TRACE method
method will deal with all errors
Parameters:
poRequest OpenEdge.Web.IWebRequest
Returns INTEGER
integer An optional status code. A zero or null value means this


10.27.2015 12:36:57